Introduce nss_wrapper-libs package to allow install smaller footprint
Resolves: RHBZ#2023435
This commit is contained in:
parent
1ddf912eed
commit
45c7558987
@ -1,6 +1,6 @@
|
|||||||
Name: nss_wrapper
|
Name: nss_wrapper
|
||||||
Version: 1.1.11
|
Version: 1.1.11
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Summary: A wrapper for the user, group and hosts NSS API
|
Summary: A wrapper for the user, group and hosts NSS API
|
||||||
@ -16,6 +16,7 @@ BuildRequires: gnupg2
|
|||||||
BuildRequires: libcmocka-devel
|
BuildRequires: libcmocka-devel
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
|
||||||
|
Requires: %{name}-libs%{?_isa} = %version-%release
|
||||||
Recommends: cmake
|
Recommends: cmake
|
||||||
Recommends: pkgconfig
|
Recommends: pkgconfig
|
||||||
|
|
||||||
@ -42,6 +43,13 @@ NSS_WRAPPER_HOSTS=/path/to/host
|
|||||||
This package doesn't have a devel package cause this project is for
|
This package doesn't have a devel package cause this project is for
|
||||||
development/testing.
|
development/testing.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: nss_library shared library only
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
The %{name}-libs package provides only the shared library.
|
||||||
|
For a minimal footprint, install just this package.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@ -63,17 +71,23 @@ sed -i '1 s|/usr/bin/env\ perl|/usr/bin/perl|' %{buildroot}%{_bindir}/nss_wrappe
|
|||||||
%ctest
|
%ctest
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS README.md CHANGELOG
|
|
||||||
%license LICENSE
|
|
||||||
%{_bindir}/nss_wrapper.pl
|
%{_bindir}/nss_wrapper.pl
|
||||||
%{_libdir}/libnss_wrapper.so*
|
|
||||||
%dir %{_libdir}/cmake/nss_wrapper
|
%dir %{_libdir}/cmake/nss_wrapper
|
||||||
%{_libdir}/cmake/nss_wrapper/nss_wrapper-config-version.cmake
|
%{_libdir}/cmake/nss_wrapper/nss_wrapper-config-version.cmake
|
||||||
%{_libdir}/cmake/nss_wrapper/nss_wrapper-config.cmake
|
%{_libdir}/cmake/nss_wrapper/nss_wrapper-config.cmake
|
||||||
%{_libdir}/pkgconfig/nss_wrapper.pc
|
%{_libdir}/pkgconfig/nss_wrapper.pc
|
||||||
%{_mandir}/man1/nss_wrapper.1*
|
%{_mandir}/man1/nss_wrapper.1*
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%doc AUTHORS README.md CHANGELOG
|
||||||
|
%license LICENSE
|
||||||
|
%{_libdir}/libnss_wrapper.so*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 15 2021 Honza Horak <hhorak@redhat.com> - 1.1.11-7
|
||||||
|
- Introduce nss_wrapper-libs package to allow install smaller footprint
|
||||||
|
Resolves: RHBZ#2023435
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-6
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user