[pida/f14/master] - use python_sitearch again - change %%files a bit

tomspur tomspur at fedoraproject.org
Sat Jul 31 19:58:18 UTC 2010


commit 0854792a910287d49b5b79c1c59b7f15785138e1
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Sat Jul 31 21:47:49 2010 +0200

    - use python_sitearch again
    - change %%files a bit

 pida.spec |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/pida.spec b/pida.spec
index 4baab11..eb4a743 100644
--- a/pida.spec
+++ b/pida.spec
@@ -6,7 +6,7 @@
 Summary:	A Python IDE written in Python and GTK
 Name:		pida
 Version:	0.5.1
-Release:	11%{?dist}
+Release:	12%{?dist}
 License:	MIT
 Group:		Development/Tools
 URL:		http://pida.co.uk/
@@ -72,9 +72,9 @@ desktop-file-install %{?_remove_encoding} --vendor fedora \
 install -p -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
 
 # Files containing shebangs need to have the executable bits.
-chmod 755 $RPM_BUILD_ROOT%{python_sitelib}/%{name}/utils/feedparser.py
-chmod 755 $RPM_BUILD_ROOT%{python_sitelib}/%{name}/utils/rpdb2.py
-chmod 755 $RPM_BUILD_ROOT%{python_sitelib}/%{name}/utils/launchpadder/lpreport.py
+chmod 755 $RPM_BUILD_ROOT%{python_sitearch}/%{name}/utils/feedparser.py
+chmod 755 $RPM_BUILD_ROOT%{python_sitearch}/%{name}/utils/rpdb2.py
+chmod 755 $RPM_BUILD_ROOT%{python_sitearch}/%{name}/utils/launchpadder/lpreport.py
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -108,17 +108,16 @@ fi
 %{_datadir}/icons/hicolor/48x48/apps/%{name}-icon.png
 %{_datadir}/icons/hicolor/scalable/apps/%{name}-icon.svg
 %{_mandir}/man1/%{name}.1.gz
-%{python_sitelib}/moo_stub.so
+%{python_sitearch}/moo_stub.so
 
-%if 0%{?fc7}%{?fc8}
-%else
-  %{python_sitelib}/PIDA-0.5.1-py?.?.egg-info
-%endif
-
-%dir %{python_sitelib}/%{name}
-%{python_sitelib}/%{name}/*
+%{python_sitearch}/%{name}/
+%{python_sitearch}/PIDA-*.egg-info
 
 %changelog
+* Sat Jul 31 2010 Thomas Spura <tomspur at fedoraproject.org> - 0.5.1-12
+- use python_sitearch again (or fails to build on 64bit)
+- change %%files a bit
+
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.5.1-11
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list