forked from pool/python-pyxdg
Accepting request 340364 from home:TheBlackCat:branches:devel:languages:python
- It doesn't need a shared-mime-info version that high. The unit tests just compare against pre-set values based on that version. So remove BuildRequires version check and disable tests for earlier openSUSE versions. OBS-URL: https://build.opensuse.org/request/show/340364 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 22 09:16:26 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- It doesn't need a shared-mime-info version that high.
|
||||||
|
The unit tests just compare against pre-set values based on that
|
||||||
|
version. So remove BuildRequires version check and disable
|
||||||
|
tests for earlier openSUSE versions.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 11 10:30:31 UTC 2015 - matwey.kornilov@gmail.com
|
Sun Oct 11 10:30:31 UTC 2015 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
Name: python-pyxdg
|
Name: python-pyxdg
|
||||||
Version: 0.25
|
Version: 0.25
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: PyXDG contains implementations of freedesktop.org standards in python
|
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
|
||||||
@@ -29,8 +29,8 @@ Source2: %{name}.keyring
|
|||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
BuildRequires: shared-mime-info >= 1.4
|
BuildRequires: shared-mime-info
|
||||||
Requires: shared-mime-info >= 1.4
|
Requires: shared-mime-info
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
@@ -58,8 +58,10 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} >= 1320
|
||||||
%check
|
%check
|
||||||
nosetests
|
nosetests
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Reference in New Issue
Block a user