Changeset 1563


Ignore:
Timestamp:
Jan 21, 2019, 8:19:46 PM (7 years ago)
Author:
Silvan Scherrer
Message:

spec: os2-rpm: Release version 1-6.

Location:
spec/trunk/SPECS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/os2-rpm.spec

    r1530 r1563  
    22Name: os2-rpm
    33Version: 1
    4 Release: 5%{?dist}
     4Release: 6%{?dist}
    55License: GPLv2+
    66Group: Development/System
     
    102102
    103103%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
    104107* Tue Nov 27 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1-5
    105108- some rather old packages still need warpin-conflicts at the ols location,
  • spec/trunk/SPECS/os2-rpm/macros.scm

    r1518 r1563  
    8686# User-level macros
    8787
     88# the __scm_defined was needed for noarch only spec
    8889%scm_source()\
     90%if 0%{!?__scm_defined}\
    8991%{?SOURCE0:%{error:%0: Source tag is already set to '%SOURCE0'}%{quit}}\
    9092%{?1:%global __source_scm %1}\
    9193%{?2:%global __source_url %2}\
    9294%{?3:%global __source_rev %3}\
     95%endif\
     96%global __scm_defined 1\
    9397%{expand:%%{!?__scm_source_%1:%%{error:%0: Invalid SCM type: %{?1}}%{quit}}}\
    9498%{expand:%%{?__scm_source_%1}}\
Note: See TracChangeset for help on using the changeset viewer.