|
|
|
@ -1,11 +1,6 @@
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 5
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
%{!?python_version: %global python_version %(%{__python} -c "import sys ; print sys.version[:3]")}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%bcond_without python3
|
|
|
|
|
%bcond_without platform_python
|
|
|
|
|
%else
|
|
|
|
@ -37,7 +32,7 @@ output capture and more.\
|
|
|
|
|
|
|
|
|
|
Name: python-nose
|
|
|
|
|
Version: 1.3.7
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+ and Public Domain
|
|
|
|
@ -267,6 +262,9 @@ popd
|
|
|
|
|
%endif # with_docs
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 1.3.7-16
|
|
|
|
|
- Cleanup spec file conditionals
|
|
|
|
|
|
|
|
|
|
* Thu Aug 10 2017 Miro Hrončok <mhroncok@redhat.com> - 1.3.7-15
|
|
|
|
|
- Add platform-python subpackage
|
|
|
|
|
|
|
|
|
|