Accepting request 490831 from home:TheBlackCat:branches:devel:languages:python
- Fix source URL - Various small spec file cleanups. OBS-URL: https://build.opensuse.org/request/show/490831 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=5
This commit is contained in:
parent
a198c1fc19
commit
c3fb7f790a
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 17:35:04 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Fix source url
|
||||
- Various small spec file cleanups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 09:16:00 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
|
@ -16,6 +16,12 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?sle_version} > 120100 || 0%{?suse_version} > 1320
|
||||
%bcond_without tests
|
||||
%else
|
||||
%bcond_with tests
|
||||
%endif
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pyxdg
|
||||
Version: 0.25
|
||||
@ -24,11 +30,13 @@ Summary: Implementations of freedesktop.org standards in python
|
||||
License: LGPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
Url: http://freedesktop.org/wiki/Software/pyxdg
|
||||
Source: https://files.python.org/packages/source/p/pyxdg/pyxdg-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyxdg/pyxdg-%{version}.tar.gz
|
||||
Source1: http://people.freedesktop.org/~takluyver/pyxdg-%{version}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
BuildRequires: %{python_module devel}
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module nose}
|
||||
%endif
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: shared-mime-info
|
||||
@ -57,7 +65,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%if 0%{?sle_version} > 120100 || 0%{?suse_version} > 1320
|
||||
%if %{with tests}
|
||||
%check
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%endif
|
||||
@ -66,6 +74,6 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
|
||||
%defattr(-,root,root,-)
|
||||
%doc README AUTHORS COPYING ChangeLog
|
||||
%{python_sitelib}/xdg
|
||||
%{python_sitelib}/pyxdg-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitelib}/pyxdg-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user