[nfoview] More changes for py3
Fabian Affolter
fab at fedoraproject.org
Sun Nov 13 21:27:29 UTC 2011
commit b8c35cc0c78b4db3e0a8c1c20c54f4c3caa25d85
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Sun Nov 13 22:27:07 2011 +0100
More changes for py3
nfoview.spec | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/nfoview.spec b/nfoview.spec
index a666f80..119b9b6 100644
--- a/nfoview.spec
+++ b/nfoview.spec
@@ -41,12 +41,12 @@ size and clickable hyperlinks.
%build
-%{__python} setup.py build
+%{__python3} setup.py build
%install
rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
+%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
%find_lang %{name}
desktop-file-install \
--add-category="TextTools;" \
@@ -82,11 +82,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_mandir}/man*/%{name}.*
%{_bindir}/%{name}
%{_datadir}/%{name}/
-%{python_sitelib}/%{name}/
-%{python_sitelib}/%{name}*.egg-info
+%{python3_sitelib}/%{name}/
+%{python3_sitelib}/%{name}*.egg-info
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
-%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%changelog
More information about the scm-commits
mailing list