[onionshare/el6] Replaced __python2 macro with __python.
pjp
pjp at fedoraproject.org
Wed Oct 15 17:13:34 UTC 2014
commit 4ebc54158c1d713aa5e488dea1806739961654c8
Author: P J P <pjp at fedoraproject.org>
Date: Wed Oct 15 22:43:20 2014 +0530
Replaced __python2 macro with __python.
onionshare.spec | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/onionshare.spec b/onionshare.spec
index 894721f..17f52fd 100644
--- a/onionshare.spec
+++ b/onionshare.spec
@@ -2,7 +2,7 @@
Name: onionshare
Version: 0.6
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Securely and anonymously share files of any size
License: GPLv3
@@ -29,11 +29,11 @@ sed -i '/^Encoding/ d' setup/%{name}.desktop
%build
-%{__python2} setup.py build
+%{__python} setup.py build
%install
-%{__python2} setup.py install --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
@@ -44,12 +44,15 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/*
%{_bindir}/%{name}
%{_bindir}/%{name}-gui
-%{python2_sitelib}/%{name}/*
-%{python2_sitelib}/%{name}_gui/*
-%{python2_sitelib}/%{name}-%{version}-py2.7.egg-info
+%{python_sitelib}/%{name}/*
+%{python_sitelib}/%{name}_gui/*
+%{python_sitelib}/%{name}-%{version}-*.egg-info
%changelog
+* Wed Oct 15 2014 pjp <pjp at fedoraproject.org> - 0.6-6
+- Use __python macro instead of __python2.
+
* Tue Oct 14 2014 pjp <pjp at fedoraproject.org> - 0.6-5
- Fixed spec file as per review BZ#1151747#c8,9.
More information about the scm-commits
mailing list