From 834eb0f10b24d466908ffdeab55b029b6da7e554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 22 Jul 2019 10:29:00 +0200 Subject: [PATCH] Make /usr/bin/nosetests Python 3 Remove obsoleted Obsolete. --- python-nose.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/python-nose.spec b/python-nose.spec index aaff44f..12c581d 100644 --- a/python-nose.spec +++ b/python-nose.spec @@ -22,7 +22,7 @@ output capture and more.\ Name: python-%{modname} Version: 1.3.7 -Release: 22%{?dist} +Release: 23%{?dist} BuildArch: noarch License: LGPLv2+ and Public Domain @@ -79,7 +79,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-coverage >= 3.4-1 Requires: python3-setuptools %{?python_provide:%python_provide python3-%{modname}} -Obsoletes: platform-python-%{modname} < %{version}-%{release} +Conflicts: python-%{modname} < %{version}-%{release} %description -n python3-%{modname} %{desc} @@ -122,8 +122,8 @@ mv %{buildroot}%{_prefix}/man/man1/nosetests.1 %{buildroot}%{_mandir}/man1/noset ln -sf nosetests-%{python3_version}.1 %{buildroot}%{_mandir}/man1/nosetests-3.1 popd -ln -sf nosetests-2 %{buildroot}%{_bindir}/nosetests -ln -sf nosetests-2.1 %{buildroot}%{_mandir}/man1/nosetests.1 +ln -sf nosetests-3 %{buildroot}%{_bindir}/nosetests +ln -sf nosetests-3.1 %{buildroot}%{_mandir}/man1/nosetests.1 %if %{with docs} pushd python3/doc @@ -147,10 +147,8 @@ popd %files -n python2-%{modname} %license lgpl.txt -%{_bindir}/nosetests %{_bindir}/nosetests-2 %{_bindir}/nosetests-%{python2_version} -%{_mandir}/man1/nosetests.1* %{_mandir}/man1/nosetests-2.1* %{_mandir}/man1/nosetests-%{python2_version}.1* %{python2_sitelib}/nose-*.egg-info/ @@ -158,8 +156,10 @@ popd %files -n python3-%{modname} %license lgpl.txt +%{_bindir}/nosetests %{_bindir}/nosetests-3 %{_bindir}/nosetests-%{python3_version} +%{_mandir}/man1/nosetests.1* %{_mandir}/man1/nosetests-3.1* %{_mandir}/man1/nosetests-%{python3_version}.1* %{python3_sitelib}/nose-*.egg-info/ @@ -173,6 +173,9 @@ popd %endif %changelog +* Mon Jul 22 2019 Miro HronĨok - 1.3.7-23 +- Make /usr/bin/nosetests Python 3 + * Sat Feb 02 2019 Fedora Release Engineering - 1.3.7-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild