[python-stem/f20] Rename tor-prompt to python3-tor-prompt in python3 subpackage

Juan Orti jorti at fedoraproject.org
Sat Jun 14 18:59:56 UTC 2014


commit b3f934b69abd5cb2fc1edeb794620478c103bef8
Author: Juan Orti Alcaine <j.orti.alcaine at gmail.com>
Date:   Sat Jun 14 20:59:44 2014 +0200

    Rename tor-prompt to python3-tor-prompt in python3 subpackage

 python-stem.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/python-stem.spec b/python-stem.spec
index 302e234..d366eef 100644
--- a/python-stem.spec
+++ b/python-stem.spec
@@ -3,7 +3,7 @@
 
 Name:           python-stem
 Version:        1.2.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python controller library for Tor
 
 Group:          Development/Libraries
@@ -72,14 +72,15 @@ make %{?_smp_mflags} man
 popd
 
 %install
-%{__python2} setup.py install --skip-build --root %{buildroot}
-
 %if 0%{?with_python3}
 pushd %{py3dir}
 %{__python3} setup.py install --skip-build --root %{buildroot}
+mv %{buildroot}%{_bindir}/tor-prompt %{buildroot}%{_bindir}/python3-tor-prompt
 popd
 %endif
 
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
 mv -f docs/_build/html docs/
 rm -f docs/html/.buildinfo
 install -d %{buildroot}%{_mandir}/man1/
@@ -87,13 +88,14 @@ install -m 0644 docs/_build/man/%{shortname}.1 %{buildroot}%{_mandir}/man1/
 
 %files
 %doc LICENSE
+%{_bindir}/tor-prompt
 %{python2_sitelib}/%{shortname}
 %{python2_sitelib}/%{shortname}-*.egg-info
 
 %if 0%{?with_python3}
 %files -n python3-stem
 %doc LICENSE
-%{_bindir}/tor-prompt
+%{_bindir}/python3-tor-prompt
 %{python3_sitelib}/%{shortname}
 %{python3_sitelib}/%{shortname}-*.egg-info
 %endif
@@ -103,6 +105,9 @@ install -m 0644 docs/_build/man/%{shortname}.1 %{buildroot}%{_mandir}/man1/
 %{_mandir}/man1/%{shortname}.1*
 
 %changelog
+* Sat Jun 14 2014 Juan Orti Alcaine <jorti at fedoraproject.org> - 1.2.2-2
+- Rename tor-prompt to python3-tor-prompt in python3 subpackage
+
 * Thu Jun 12 2014 Juan Orti Alcaine <jorti at fedoraproject.org> - 1.2.2-1
 - Version 1.2.2
 


More information about the scm-commits mailing list