Changeset 1563 for spec/trunk/SPECS/os2-rpm/macros.scm
- Timestamp:
- Jan 21, 2019, 8:19:46 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/os2-rpm/macros.scm
r1518 r1563 86 86 # User-level macros 87 87 88 # the __scm_defined was needed for noarch only spec 88 89 %scm_source()\ 90 %if 0%{!?__scm_defined}\ 89 91 %{?SOURCE0:%{error:%0: Source tag is already set to '%SOURCE0'}%{quit}}\ 90 92 %{?1:%global __source_scm %1}\ 91 93 %{?2:%global __source_url %2}\ 92 94 %{?3:%global __source_rev %3}\ 95 %endif\ 96 %global __scm_defined 1\ 93 97 %{expand:%%{!?__scm_source_%1:%%{error:%0: Invalid SCM type: %{?1}}%{quit}}}\ 94 98 %{expand:%%{?__scm_source_%1}}\
Note:
See TracChangeset
for help on using the changeset viewer.