From a8aa3a547f4fe8b1f2804fba735be9264f293042ac9cffcc222c5bdce496d017 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:56:02 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-pam?expand=0&rev=3 --- python-python-pam.changes | 5 +++++ python-python-pam.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-python-pam.changes b/python-python-pam.changes index dc09d5d..43f3154 100644 --- a/python-python-pam.changes +++ b/python-python-pam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:53:06 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Jun 19 16:52:50 UTC 2017 - okurz@suse.com diff --git a/python-python-pam.spec b/python-python-pam.spec index 0e32c9f..7256879 100644 --- a/python-python-pam.spec +++ b/python-python-pam.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-pam # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,12 +21,11 @@ Name: python-python-pam %global modname python-pam Version: 1.8.2 Release: 0 -License: MIT Summary: Python PAM module using ctypes, py3/py2 -Url: https://github.com/FirefighterBlu3/%{modname} +License: MIT Group: Development/Languages/Python +Url: https://github.com/FirefighterBlu3/%{modname} Source: https://pypi.io/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From cd955758502438ad658965fd64ff437479ccf8deea3b4ad0f5d1b82ddaf03834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 7 Dec 2018 10:40:25 +0000 Subject: [PATCH 2/2] - Version update to 1.8.4: * Various small fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-pam?expand=0&rev=4 --- python-pam-1.8.2.tar.gz | 3 --- python-pam-1.8.4.tar.gz | 3 +++ python-python-pam.changes | 6 ++++++ python-python-pam.spec | 15 +++++++-------- 4 files changed, 16 insertions(+), 11 deletions(-) delete mode 100644 python-pam-1.8.2.tar.gz create mode 100644 python-pam-1.8.4.tar.gz diff --git a/python-pam-1.8.2.tar.gz b/python-pam-1.8.2.tar.gz deleted file mode 100644 index 373d574..0000000 --- a/python-pam-1.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26efe4e79b869b10f97cd8c4a6bbb04a4e54d41186364e975b4108c9c071812c -size 4065 diff --git a/python-pam-1.8.4.tar.gz b/python-pam-1.8.4.tar.gz new file mode 100644 index 0000000..807195a --- /dev/null +++ b/python-pam-1.8.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c856d9c89fedb33951dd8a95727ae57c6887b02d065bbdffd2fd9dbc0183909b +size 4990 diff --git a/python-python-pam.changes b/python-python-pam.changes index 43f3154..23840c7 100644 --- a/python-python-pam.changes +++ b/python-python-pam.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 7 10:39:12 UTC 2018 - Tomáš Chvátal + +- Version update to 1.8.4: + * Various small fixes + ------------------------------------------------------------------- Tue Dec 4 12:53:06 UTC 2018 - Matej Cepl diff --git a/python-python-pam.spec b/python-python-pam.spec index 7256879..7f0e84b 100644 --- a/python-python-pam.spec +++ b/python-python-pam.spec @@ -17,21 +17,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-python-pam %global modname python-pam -Version: 1.8.2 +Name: python-python-pam +Version: 1.8.4 Release: 0 Summary: Python PAM module using ctypes, py3/py2 License: MIT Group: Development/Languages/Python -Url: https://github.com/FirefighterBlu3/%{modname} -Source: https://pypi.io/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz +URL: https://github.com/FirefighterBlu3/python-pam +Source: https://files.pythonhosted.org/packages/source/p/python-pam/%{modname}-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -45,10 +43,11 @@ Python pam module supporting py3 (and py2). %install %python_install -%fdupes %{buildroot}%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) +%license LICENSE +%doc README.md %{python_sitelib}/* %changelog