- Use %%configure macro, harden rpm package

- Resolves: #1289734
This commit is contained in:
Lubos Kardos 2016-01-29 17:17:30 +01:00
parent 79603b940d
commit 50c480f80a
1 changed files with 5 additions and 9 deletions

View File

@ -29,7 +29,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
Release: %{?snapver:0.%{snapver}.}9%{?dist}
Release: %{?snapver:0.%{snapver}.}10%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.12.x/%{name}-%{srcver}.tar.bz2
@ -327,14 +327,7 @@ autoreconf -i -f
# Using configure macro has some unwanted side-effects on rpm platform
# setup, use the old-fashioned way for now only defining minimal paths.
./configure \
--prefix=%{_usr} \
--sysconfdir=%{_sysconfdir} \
--localstatedir=%{_var} \
--sharedstatedir=%{_var}/lib \
--libdir=%{_libdir} \
--build=%{_target_platform} \
--host=%{_target_platform} \
%configure \
--with-vendor=redhat \
%{!?with_int_bdb: --with-external-db} \
%{!?with_plugins: --disable-plugins} \
@ -561,6 +554,9 @@ exit 0
%doc doc/librpm/html/*
%changelog
* Fri Jan 29 2016 Lubos Kardos <lkardos@redhat.com> - 4.13.0-0.rc1.10
- Use %%configure macro, harden rpm package (#1289734)
* Fri Jan 15 2016 Lubos Kardos <lkardos@redhat.com> - 4.13.0-0.rc1.9
- Fix recursive calling of rpmdeps tool (#1297557)