From 1c55e006b6082b72a43c0b4fbd55fd665363ba84 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 16 2023 06:06:08 +0000 Subject: import nss_wrapper-1.1.13-1.el8 --- diff --git a/.gitignore b/.gitignore index 41f9d9c..b541027 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/nss_wrapper-1.1.5.tar.gz +SOURCES/nss_wrapper-1.1.13.tar.gz SOURCES/nss_wrapper.keyring diff --git a/.nss_wrapper.metadata b/.nss_wrapper.metadata index 398d519..1dcc05d 100644 --- a/.nss_wrapper.metadata +++ b/.nss_wrapper.metadata @@ -1,2 +1,2 @@ -f2d5b31cbb497b3fdd12a8a4b931830defdb2c9e SOURCES/nss_wrapper-1.1.5.tar.gz +ae7dccfe28ac92b69cf60d453279127d52c2505a SOURCES/nss_wrapper-1.1.13.tar.gz 3f2ab0bca02893402ba0ad172a6bd44456a65f86 SOURCES/nss_wrapper.keyring diff --git a/SOURCES/nss_wrapper-1.1.13.tar.gz.asc b/SOURCES/nss_wrapper-1.1.13.tar.gz.asc new file mode 100644 index 0000000..6c7c5dd --- /dev/null +++ b/SOURCES/nss_wrapper-1.1.13.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAmNrTNwACgkQfuD8TcwB +Tj3WoQ/9GKqsov0wiifUzR7KkWEC1IAg/X9ja5q02V/BxWVhiMlfbcHsfo797eNf +shEMt1JF0knL2EJZYK/ToP5FnTTKmGS41lmV8SLSHz/Lkes9hgcTW4ErIks7xbYw +a1KTyWjpSsPaz4nfzWRN5e3BjZUAhX91Cy0RRZR4mYvHkIEX79ib0FAwJeRs48QB +8IwMqR2vULT8TzifUmve1VOKuyLFEq85nzb+q1eJwXGbB+Xo8mr1kjfKm2a/zAaA +tGC1rDQJkMi36Qwm/r9i1fwsaMUWnNCF1Mi/uZnh7vLVdD8FqK+EInUVeGHNX/hr +Ryv8/xu+V7/B6vkWHa2ILzlQEWoXBN1wUm616pSLnJ4D6yj10YBkvsJ6ndY8ZvSk +8bAm6YZqssMQXpXL+7oJn946oyfQ2WBTswZb/St9ujhgTtM/a3TMFLWOG4tZLJ19 +hdyZOzrzRq2nzhTzsbhc77TKoirpdODGr6aWGBlLYJrhksEe3FfCyGUGVNY6N280 +A+wXkbS/sKy6t9ArFvArvrhabc+Rj8/2JiN9h6lXfMsRsatyJH1hrUE2kQEXudFx ++BIa4/5dGMrVCoDcbLAxgE7H9ZJUFmo/w+9WhEMdqVPxi49hKnf+iL3DyQPpjL9f +Y6jYwgKFsjYrpLtch9LMa5svsY9S5gPY4qixH20RqQvng5PUWlU= +=9HJb +-----END PGP SIGNATURE----- diff --git a/SOURCES/nss_wrapper-1.1.5.tar.gz.asc b/SOURCES/nss_wrapper-1.1.5.tar.gz.asc deleted file mode 100644 index 02b7adf..0000000 --- a/SOURCES/nss_wrapper-1.1.5.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAlvZrO8ACgkQfuD8TcwB -Tj0V+Q/9Gz21FCz7SAqbZjk2sZ+8fMkuiZxkRY046LOwSmCVV1dgNYc5gdkzaPvl -KDD7bNdu8vl9Y//zbEHZ9QwEc1YwuO3l60jcGPHXO8Th8orrDvIbAM65ktxanlgB -73cqpFNfe+BsdpvuC1764e7D/+Ji/0dhVBTzXL05ZKMET0mAiBudT8w4f9X+/TfR -ghzlDh5BSZDQKnEnPpdH02zU68F4vhznr+grqlTh+HVGCWiwF380OHlSBn9cLCaj -ZeSbhNMXAoYIOBXfVEkt9Qi05sGVMPBmcZ53/THVwz5QONrIfUysLOIvJptN8IXv -+KUAUpDoZ5hkAT7VhE5gaVyAIukEC1pNey/a2tLMLht1UYeiytOBCDImnYOm4tKO -1TKa4VTRi5goyWjEe2e3MHSXi7WC+QJgFYwF0l1Z1rjNluGdUgWwmx6Vf4DcZqct -RCT0+27y6PHXHczAdv3YE/C1mTaj+ncSKFqp+lQeI8FXhCqstEPQdUQC02CTSDHn -mpXA3ZqhwXC1vYycRiyAcRfiFV9uPbGAblJD8aQzUPYn1nk1MAWuDP1rOSAOSTCK -KOfy15rxDltC9H2bLLzQP+7vHYonO9cTsrdjW1FM6dkMEkY3l+tOnUAfkqt6fJCE -nDBMhDY+OGk4TLyWtKz4tKz7qCjx+lZhQk0qf07LTdOrjrHjFmw= -=Qf+4 ------END PGP SIGNATURE----- diff --git a/SPECS/nss_wrapper.spec b/SPECS/nss_wrapper.spec index 2cdb3a5..aa43706 100644 --- a/SPECS/nss_wrapper.spec +++ b/SPECS/nss_wrapper.spec @@ -1,6 +1,6 @@ Name: nss_wrapper -Version: 1.1.5 -Release: 3%{?dist} +Version: 1.1.13 +Release: 1%{?dist} License: BSD Summary: A wrapper for the user, group and hosts NSS API @@ -16,6 +16,7 @@ BuildRequires: gnupg2 BuildRequires: libcmocka-devel BuildRequires: perl-generators +Requires: %{name}-libs%{?_isa} > 1.1.5 Recommends: cmake Recommends: pkgconfig @@ -42,49 +43,66 @@ NSS_WRAPPER_HOSTS=/path/to/host This package doesn't have a devel package cause this project is for development/testing. +%package libs +Summary: nss_library shared library only +Conflicts: nss_wrapper <= 1.1.5 + +%description libs +The %{name}-libs package provides only the shared library. +For a minimal footprint, install just this package. + %prep gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %autosetup -p1 %build -if test ! -e "obj"; then - mkdir obj -fi -pushd obj +mkdir -p build +pushd build %cmake \ -DUNIT_TESTING=ON \ %{_builddir}/%{name}-%{version} -make %{?_smp_mflags} VERBOSE=1 +%cmake_build popd %install -pushd obj -make DESTDIR=%{buildroot} install +pushd build +%cmake_install sed -i '1 s|/usr/bin/env\ perl|/usr/bin/perl|' %{buildroot}%{_bindir}/nss_wrapper.pl - popd %ldconfig_scriptlets %check -pushd obj -make test +pushd build +%ctest popd %files -%doc AUTHORS README ChangeLog -%license LICENSE %{_bindir}/nss_wrapper.pl -%{_libdir}/libnss_wrapper.so* %dir %{_libdir}/cmake/nss_wrapper %{_libdir}/cmake/nss_wrapper/nss_wrapper-config-version.cmake %{_libdir}/cmake/nss_wrapper/nss_wrapper-config.cmake %{_libdir}/pkgconfig/nss_wrapper.pc %{_mandir}/man1/nss_wrapper.1* +%files libs +%doc AUTHORS README.md CHANGELOG +%license LICENSE +%{_libdir}/libnss_wrapper.so* + %changelog +* Wed Nov 09 2022 Andreas Schneider - 1.1.3-1 +- related: rhbz#2139665 - Rebase to version 1.1.13 + +* Thu Nov 03 2022 Andreas Schneider - 1.1.12-5 +- related: rhbz#2124635 - Fix dependency to nss_wrapper-libs + +* Thu Nov 03 2022 Andreas Schneider - 1.1.12-1 +- resolves: rhbz#2139665 - Rebase to version 1.1.12 +- resolves: rhbz#2124635 - Reduce dependencies of the package + * Fri Feb 01 2019 Fedora Release Engineering - 1.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild