From b669f286a4c161d70f16201f0839bc45be1c8642 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Oct 11 2017 14:09:09 +0000 Subject: Fix Python 3 dependency from python2-transtats-cli (bz#1495860) --- diff --git a/transtats-cli.spec b/transtats-cli.spec index 7d55e51..fe662c6 100644 --- a/transtats-cli.spec +++ b/transtats-cli.spec @@ -15,7 +15,7 @@ Name: %{name} Version: 0.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum} License: ASL 2.0 URL: https://github.com/%{project}/%{name} @@ -64,6 +64,9 @@ rm -rf *.egg-info %install %if 0%{?with_python2} %py2_install +# Delete the Python 2 executable so that the Python 3 +# version can take it's place. +rm %{buildroot}%{_bindir}/* %endif %py3_install @@ -71,7 +74,6 @@ rm -rf *.egg-info %files -n python2-%{name} %doc README.md transtats.conf.example %license LICENSE -%{_bindir}/%{project} %{python2_sitelib}/%{module} %{python2_sitelib}/%{name_with_underscore}-%{version}-py?.?.egg-info %{_mandir}/man1/transtats.1.gz @@ -87,6 +89,10 @@ rm -rf *.egg-info %changelog +* Wed Oct 11 2017 Iryna Shcherbina - 0.1.0-4 +- Fix Python 3 dependency from python2-transtats-cli +Resolves: rhbz#1495860 + * Wed Sep 13 2017 Sundeep Anand - 0.1.0-3 - Add man page to transtats-cli