diff --git a/python-pkginfo.changes b/python-pkginfo.changes index 795b928..640323f 100644 --- a/python-pkginfo.changes +++ b/python-pkginfo.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 + +- 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..8ee0655 100644 --- a/python-pkginfo.spec +++ b/python-pkginfo.spec @@ -12,33 +12,30 @@ # 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-%{**}} # 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 +Summary: Python package for querying 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 devel} 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 @@ -77,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