forked from pool/python-pyxdg
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:
@@ -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
|
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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pyxdg
|
Name: python-pyxdg
|
||||||
Version: 0.25
|
Version: 0.25
|
||||||
@@ -24,11 +30,13 @@ Summary: Implementations of freedesktop.org standards in python
|
|||||||
License: LGPL-2.1
|
License: LGPL-2.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://freedesktop.org/wiki/Software/pyxdg
|
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
|
Source1: http://people.freedesktop.org/~takluyver/pyxdg-%{version}.tar.gz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
|
%endif
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: shared-mime-info
|
BuildRequires: shared-mime-info
|
||||||
@@ -57,7 +65,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
|
||||||
%if 0%{?sle_version} > 120100 || 0%{?suse_version} > 1320
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
%python_expand nosetests-%{$python_bin_suffix}
|
%python_expand nosetests-%{$python_bin_suffix}
|
||||||
%endif
|
%endif
|
||||||
@@ -66,6 +74,6 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README AUTHORS COPYING ChangeLog
|
%doc README AUTHORS COPYING ChangeLog
|
||||||
%{python_sitelib}/xdg
|
%{python_sitelib}/xdg
|
||||||
%{python_sitelib}/pyxdg-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/pyxdg-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user