- add is_opensuse and leap_version macros to suse_macros
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=374
This commit is contained in:
parent
29760e018d
commit
7658807459
@ -236,6 +236,8 @@
|
||||
%suse_version @suse_version@
|
||||
%sles_version @sles_version@
|
||||
%ul_version @ul_version@
|
||||
%is_opensuse @is_opensuse@
|
||||
%leap_version @leap_version@
|
||||
|
||||
%do_profiling 1
|
||||
%cflags_profile_generate -fprofile-generate
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 13:58:28 CEST 2016 - mls@suse.de
|
||||
|
||||
- add is_opensuse and leap_version macros to suse_macros
|
||||
[bnc#940315]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 10:44:52 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
|
6
rpm.spec
6
rpm.spec
@ -203,7 +203,7 @@ Requires: file
|
||||
|
||||
%description build
|
||||
If you want to build a rpm, you need this package. It provides rpmbuild
|
||||
and requires some packages that are usually required
|
||||
and requires some packages that are usually required.
|
||||
|
||||
%prep
|
||||
%setup -q -n rpm-%{version}
|
||||
@ -246,6 +246,10 @@ tar -xjvf %{SOURCE1}
|
||||
sed -e 's/@suse_version@/%{?suse_version}%{!?suse_version:0}/' \
|
||||
-e 's/@sles_version@/%{?sles_version}%{!?sles_version:0}/' \
|
||||
-e 's/@ul_version@/%{?ul_version}%{!?ul_version:0}/' \
|
||||
-e '/@is_opensuse@%{?is_opensuse:nomatch}/d' \
|
||||
-e 's/@is_opensuse@/%{?is_opensuse}%{!?is_opensuse:0}/' \
|
||||
-e '/@leap_version@%{?leap_version:nomatch}/d' \
|
||||
-e 's/@leap_version@/%{?leap_version}%{!?leap_version:0}/' \
|
||||
< %{SOURCE4} > suse_macros
|
||||
rm -f m4/libtool.m4
|
||||
rm -f m4/lt*.m4
|
||||
|
Loading…
Reference in New Issue
Block a user