From 4ebc54158c1d713aa5e488dea1806739961654c8 Mon Sep 17 00:00:00 2001 From: P J P Date: Oct 15 2014 17:13:20 +0000 Subject: Replaced __python2 macro with __python. --- 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 - 0.6-6 +- Use __python macro instead of __python2. + * Tue Oct 14 2014 pjp - 0.6-5 - Fixed spec file as per review BZ#1151747#c8,9.