From 4bb3111bd877dfc0a989b6be7924091a9ce218a75dbddb402e2bfcbdec58ee4b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:47:24 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=8 --- python-pkginfo.changes | 5 +++++ python-pkginfo.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-pkginfo.changes b/python-pkginfo.changes index 795b928..48b99bf 100644 --- a/python-pkginfo.changes +++ b/python-pkginfo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:51:35 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sun May 20 16:11:28 UTC 2018 - hpj@urpla.net diff --git a/python-pkginfo.spec b/python-pkginfo.spec index a3e3159..147ccbd 100644 --- a/python-pkginfo.spec +++ b/python-pkginfo.spec @@ -12,7 +12,7 @@ # 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/ # @@ -28,7 +28,6 @@ License: MIT Group: Development/Languages/Python Url: http://pypi.python.org/pypi/pkginfo/ Source: https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From fb981a0c8252fb5d487316ace2591bbb125e737f726ff7d0635303d7e7ff60e1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:18:22 +0000 Subject: [PATCH 2/3] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=9 --- python-pkginfo.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/python-pkginfo.spec b/python-pkginfo.spec index 147ccbd..a1aa007 100644 --- a/python-pkginfo.spec +++ b/python-pkginfo.spec @@ -16,28 +16,26 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} # Tests are currently broken. %bcond_without tests - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pkginfo Version: 1.4.2 Release: 0 Summary: Query metadatdata from sdists / bdists / installed packages License: MIT Group: Development/Languages/Python -Url: http://pypi.python.org/pypi/pkginfo/ +URL: http://pypi.python.org/pypi/pkginfo/ Source: https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(preun): update-alternatives +BuildArch: noarch %if %{with tests} BuildRequires: %{python_module nose} %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -Requires(post): update-alternatives -Requires(preun): update-alternatives %python_subpackages %description @@ -76,8 +74,8 @@ $python setup.py test -q %python_uninstall_alternative pkginfo %files %{python_files} -%defattr(-,root,root,-) -%doc README.txt CHANGES.txt LICENSE.txt TODO.txt +%license LICENSE.txt +%doc README.txt CHANGES.txt TODO.txt %python_alternative %{_bindir}/pkginfo %{python_sitelib}/pkginfo %{python_sitelib}/pkginfo-%{version}-py*.egg-info From bd6fc462a9e93e4d880b81e9824f84ed3c45fc60795336ee51b6bf3872bd12bb Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 19 Dec 2018 03:59:44 +0000 Subject: [PATCH 3/3] Accepting request 659792 from home:jengelh:branches:devel:languages:python - Use noun phrase in summary. OBS-URL: https://build.opensuse.org/request/show/659792 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=10 --- python-pkginfo.changes | 5 +++++ python-pkginfo.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pkginfo.changes b/python-pkginfo.changes index 48b99bf..640323f 100644 --- a/python-pkginfo.changes +++ b/python-pkginfo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 19 00:05:38 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. + ------------------------------------------------------------------- Tue Dec 4 12:51:35 UTC 2018 - Matej Cepl diff --git a/python-pkginfo.spec b/python-pkginfo.spec index a1aa007..8ee0655 100644 --- a/python-pkginfo.spec +++ b/python-pkginfo.spec @@ -22,7 +22,7 @@ Name: python-pkginfo Version: 1.4.2 Release: 0 -Summary: Query metadatdata from sdists / bdists / installed packages +Summary: Python package for querying metadatdata from sdists/bdists/installed packages License: MIT Group: Development/Languages/Python URL: http://pypi.python.org/pypi/pkginfo/