diff --git a/.gitignore b/.gitignore index 78e03a1..cdf8ee5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pam_wrapper-1.0.1.tar.gz /pam_wrapper-1.0.2.tar.gz /pam_wrapper-1.0.3.tar.gz +/pam_wrapper-1.0.7.tar.gz diff --git a/pam_wrapper.spec b/pam_wrapper.spec index feba1f3..c17815d 100644 --- a/pam_wrapper.spec +++ b/pam_wrapper.spec @@ -1,6 +1,6 @@ Name: pam_wrapper -Version: 1.0.3 -Release: 4%{?dist} +Version: 1.0.7 +Release: 1%{?dist} Summary: A tool to test PAM applications and PAM modules License: GPLv3+ @@ -11,7 +11,8 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: cmake BuildRequires: libcmocka-devel -BuildRequires: python-devel +BuildRequires: python2-devel +BuildRequires: python3-devel BuildRequires: pam-devel BuildRequires: doxygen @@ -62,13 +63,24 @@ License: GPLv3+ Documentation for libpamtest development. -%package -n python-libpamtest +%package -n python2-libpamtest Summary: A python wrapper for libpamtest License: GPLv3+ Requires: pam_wrapper = %{version}-%{release} Requires: libpamtest = %{version}-%{release} -%description -n python-libpamtest +%description -n python2-libpamtest +If you plan to develop python tests for a PAM module you can use this +library, which simplifies testing of modules. This subpackage includes +the header files for libpamtest + +%package -n python3-libpamtest +Summary: A python wrapper for libpamtest +License: GPLv3+ +Requires: pam_wrapper = %{version}-%{release} +Requires: libpamtest = %{version}-%{release} + +%description -n python3-libpamtest If you plan to develop python tests for a PAM module you can use this library, which simplifies testing of modules. This subpackage includes the header files for libpamtest @@ -109,7 +121,7 @@ popd %check pushd obj -ctest -V +ctest --output-on-failure popd %files @@ -140,11 +152,16 @@ popd %files -n libpamtest-doc %doc obj/doc/html -%files -n python-libpamtest +%files -n python2-libpamtest %{python2_sitearch}/pypamtest.so +%files -n python3-libpamtest +%{python3_sitearch}/pypamtest.so %changelog +* Wed Sep 26 2018 Andreas Schneider - 1.0.7-1 +- Update to version 1.0.7 + * Fri Jul 13 2018 Fedora Release Engineering - 1.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 4138b7e..ba13a5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pam_wrapper-1.0.3.tar.gz) = e4a38ac877ca1267c5e57c9687feebc1154fdfd405d3e72db788952c85bddf00b41e24da22ba5bc152c0751087f40e66d8788529ec9583f0d9bb067fb163eaec +SHA512 (pam_wrapper-1.0.7.tar.gz) = 14b182a99d1a95905d4e58b2b20d4d13538a75d9397768638a64ddf903688114ab58fb283e0425800b42387eda3a9c9e8b827d4f90c51ab3ac4e93d48563b11f