| |
@@ -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 @@
|
| |
|
| |
BuildRequires: cmake
|
| |
BuildRequires: libcmocka-devel
|
| |
- BuildRequires: python-devel
|
| |
+ BuildRequires: python2-devel
|
| |
+ BuildRequires: python3-devel
|
| |
BuildRequires: pam-devel
|
| |
BuildRequires: doxygen
|
| |
|
| |
@@ -61,13 +62,25 @@
|
| |
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 @@
|
| |
|
| |
%check
|
| |
pushd obj
|
| |
- ctest -V
|
| |
+ ctest --output-on-failure
|
| |
popd
|
| |
|
| |
%files
|
| |
@@ -143,12 +156,17 @@
|
| |
%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 <lslebodn@fedoraproject.org> - 1.0.7-1
|
| |
+ - Update to version 1.0.7
|
| |
+
|
| |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
| |
|
| |
(cherry picked from commit 33e58bd)
Other supported distributions already have 1.0.7
https://apps.fedoraproject.org/packages/pam_wrapper
@asn PTAL