Changeset 1563
- Timestamp:
- Jan 21, 2019, 8:19:46 PM (7 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/os2-rpm.spec
r1530 r1563 2 2 Name: os2-rpm 3 3 Version: 1 4 Release: 5%{?dist}4 Release: 6%{?dist} 5 5 License: GPLv2+ 6 6 Group: Development/System … … 102 102 103 103 %changelog 104 * Mon Jan 21 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> 1-6 105 - fix scm_macro to work with noarch only spec as well 106 104 107 * Tue Nov 27 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1-5 105 108 - some rather old packages still need warpin-conflicts at the ols location, -
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.