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:
commit
b08e4b57fc
@ -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
|
Sun May 20 16:11:28 UTC 2018 - hpj@urpla.net
|
||||||
|
|
||||||
|
@ -12,33 +12,30 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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.
|
# Tests are currently broken.
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-pkginfo
|
Name: python-pkginfo
|
||||||
Version: 1.4.2
|
Version: 1.4.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Query metadatdata from sdists / bdists / installed packages
|
Summary: Python package for querying metadatdata from sdists/bdists/installed packages
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(preun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(preun): update-alternatives
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -77,8 +74,8 @@ $python setup.py test -q
|
|||||||
%python_uninstall_alternative pkginfo
|
%python_uninstall_alternative pkginfo
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc README.txt CHANGES.txt LICENSE.txt TODO.txt
|
%doc README.txt CHANGES.txt TODO.txt
|
||||||
%python_alternative %{_bindir}/pkginfo
|
%python_alternative %{_bindir}/pkginfo
|
||||||
%{python_sitelib}/pkginfo
|
%{python_sitelib}/pkginfo
|
||||||
%{python_sitelib}/pkginfo-%{version}-py*.egg-info
|
%{python_sitelib}/pkginfo-%{version}-py*.egg-info
|
||||||
|
Loading…
Reference in New Issue
Block a user