Split rpm-build-libs to one more subpackage rpm-sign-libs

This is the only package in default buildroot pulling in gnupg2 which
pulls gnutls, libgcrypt, nettle…

Acked-by: Panu Matilainen <pmatilai@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-20 11:30:19 +01:00
parent 29c140818d
commit 99d6687a36
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -23,7 +23,7 @@
%global rpmver 4.14.1 %global rpmver 4.14.1
#global snapver rc2 #global snapver rc2
%global rel 7 %global rel 8
%global srcver %{version}%{?snapver:-%{snapver}} %global srcver %{version}%{?snapver:-%{snapver}}
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x} %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@ -177,15 +177,23 @@ Obsoletes: compat-librpm3 < %{version}-%{release}
This package contains the RPM shared libraries. This package contains the RPM shared libraries.
%package build-libs %package build-libs
Summary: Libraries for building and signing RPM packages Summary: Libraries for building RPM packages
Group: Development/Libraries
License: GPLv2+ and LGPLv2+ with exceptions
Requires: rpm-libs%{_isa} = %{version}-%{release}
%description build-libs
This package contains the RPM shared libraries for building packages.
%package sign-libs
Summary: Libraries for signing RPM packages
Group: Development/Libraries Group: Development/Libraries
License: GPLv2+ and LGPLv2+ with exceptions License: GPLv2+ and LGPLv2+ with exceptions
Requires: rpm-libs%{_isa} = %{version}-%{release} Requires: rpm-libs%{_isa} = %{version}-%{release}
Requires: %{_bindir}/gpg2 Requires: %{_bindir}/gpg2
%description build-libs %description sign-libs
This package contains the RPM shared libraries for building and signing This package contains the RPM shared libraries for signing packages.
packages.
%package devel %package devel
Summary: Development files for manipulating RPM packages Summary: Development files for manipulating RPM packages
@ -194,6 +202,7 @@ License: GPLv2+ and LGPLv2+ with exceptions
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs%{_isa} = %{version}-%{release} Requires: %{name}-libs%{_isa} = %{version}-%{release}
Requires: %{name}-build-libs%{_isa} = %{version}-%{release} Requires: %{name}-build-libs%{_isa} = %{version}-%{release}
Requires: %{name}-sign-libs%{_isa} = %{version}-%{release}
Requires: popt-devel%{_isa} Requires: popt-devel%{_isa}
%description devel %description devel
@ -229,7 +238,7 @@ that are used to build packages using the RPM Package Manager.
%package sign %package sign
Summary: Package signing support Summary: Package signing support
Group: System Environment/Base Group: System Environment/Base
Requires: rpm-build-libs%{_isa} = %{version}-%{release} Requires: rpm-sign-libs%{_isa} = %{version}-%{release}
%description sign %description sign
This package contains support for digitally signing RPM packages. This package contains support for digitally signing RPM packages.
@ -532,6 +541,8 @@ make check || cat tests/rpmtests.log
%files build-libs %files build-libs
%{_libdir}/librpmbuild.so.* %{_libdir}/librpmbuild.so.*
%files sign-libs
%{_libdir}/librpmsign.so.* %{_libdir}/librpmsign.so.*
%files build %files build
@ -589,6 +600,9 @@ make check || cat tests/rpmtests.log
%doc doc/librpm/html/* %doc doc/librpm/html/*
%changelog %changelog
* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
- Split rpm-build-libs to one more subpackage rpm-sign-libs
* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7 * Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
- Explicitly BuildRequire gcc and make - Explicitly BuildRequire gcc and make