Accepting request 659833 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/659833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-12-24 10:46:27 +00:00 committed by Git OBS Bridge
commit b08e4b57fc
2 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 19 00:05:38 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary.
-------------------------------------------------------------------
Tue Dec 4 12:51:35 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sun May 20 16:11:28 UTC 2018 - hpj@urpla.net

View File

@ -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