From 1d122c5ea601c2833ad309221849ce745cd3a439 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mar 18 2019 15:35:56 +0000 Subject: Upate to version 1.0.7 (cherry picked from commit 33e58bd570c671a61b77a4d59fb06701d8c4735e) --- 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 465bfc9..32f4fdc 100644 --- a/pam_wrapper.spec +++ b/pam_wrapper.spec @@ -1,6 +1,6 @@ Name: pam_wrapper -Version: 1.0.3 -Release: 3%{?dist} +Version: 1.0.7 +Release: 1%{?dist} Summary: A tool to test PAM applications and PAM modules License: GPLv3+ @@ -10,7 +10,8 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: libcmocka-devel -BuildRequires: python-devel +BuildRequires: python2-devel +BuildRequires: python3-devel BuildRequires: pam-devel BuildRequires: doxygen @@ -61,13 +62,25 @@ 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} +%{?python_provide:%python_provide python2-libpamtest} -%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 @@ -108,7 +121,7 @@ popd %check pushd obj -ctest -V +ctest --output-on-failure popd %files @@ -143,12 +156,17 @@ popd %defattr(-,root,root,-) %doc obj/doc/html -%files -n python-libpamtest +%files -n python2-libpamtest %defattr(-,root,root,-) %{python2_sitearch}/pypamtest.so +%files -n python3-libpamtest +%{python3_sitearch}/pypamtest.so %changelog +* Mon Mar 18 2019 Lukas Slebodnik - 1.0.7-1 +- Update to version 1.0.7 + * Thu Feb 08 2018 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_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