[packages/pam_wrapper] - updated to 1.1.5; python2 support dropped (1.1.4 saved in python-pypamtest.spec)
qboosh
qboosh at pld-linux.org
Sun Aug 20 12:56:10 CEST 2023
commit 2e4f85857ad6939864b91e7a4688c52764f41d4d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Aug 20 11:58:18 2023 +0200
- updated to 1.1.5; python2 support dropped (1.1.4 saved in python-pypamtest.spec)
pam_wrapper.spec | 27 +++------------------------
1 file changed, 3 insertions(+), 24 deletions(-)
---
diff --git a/pam_wrapper.spec b/pam_wrapper.spec
index ea01016..04d9a5e 100644
--- a/pam_wrapper.spec
+++ b/pam_wrapper.spec
@@ -1,23 +1,21 @@
#
# Conditional build:
-%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
Summary: PAM wrapper library - tool to test PAM applications and modules
Summary(pl.UTF-8): Biblioteka obudowująca PAM - narzędzie do testowania aplikacji i modułów PAM
Name: pam_wrapper
-Version: 1.1.4
-Release: 2
+Version: 1.1.5
+Release: 1
License: GPL v3+
Group: Libraries
Source0: https://www.samba.org/ftp/cwrap/%{name}-%{version}.tar.gz
-# Source0-md5: c54539f0506cf6f1caa5a93847908dd6
+# Source0-md5: 133b430047413ed2bfe95b37dfa73427
URL: https://cwrap.org/pam_wrapper.html
BuildRequires: cmake >= 3.5.0
# for tests
#BuildRequires: cmocka-devel
BuildRequires: pam-devel
-%{?with_python2:BuildRequires: python-devel >= 1:2.6}
%{?with_python3:BuildRequires: python3-devel >= 1:3.2}
BuildRequires: rpmbuild(macros) >= 1.605
Requires: pam-devel
@@ -40,19 +38,6 @@ pamtest, upraszczająca testowanie. Można łączyć ją ze szkieletem
testów jednostkowych cmocka, albo użyć dostarczonych wiązań Pythona do
pisania własnych testów modułu w Pythonie.
-%package -n python-pypamtest
-Summary: PamTest module for Python 2.x
-Summary(pl.UTF-8): Moduł PamTest dla Pythona 2.x
-Group: Libraries/Python
-Requires: %{name} = %{version}-%{release}
-Requires: python-libs >= 1:2.6
-
-%description -n python-pypamtest
-PamTest module for Python 2.x.
-
-%description -n python-pypamtest -l pl.UTF-8
-Moduł PamTest dla Pythona 2.x.
-
%package -n python3-pypamtest
Summary: PamTest module for Python 3.x
Summary(pl.UTF-8): Moduł PamTest dla Pythona 3.x
@@ -113,12 +98,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/pam_matrix.8*
%{_mandir}/man8/pam_set_items.8*
-%if %{with python2}
-%files -n python-pypamtest
-%defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/pypamtest.so
-%endif
-
%if %{with python3}
%files -n python3-pypamtest
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pam_wrapper.git/commitdiff/2e4f85857ad6939864b91e7a4688c52764f41d4d
More information about the pld-cvs-commit
mailing list