[exaile/f15] Place exaile's private modules in %datadir Trim (un-necessary?) requires

Deji Akingunola deji at fedoraproject.org
Tue Sep 13 00:55:18 UTC 2011


commit 569824e75d92e544d0485081225f51f75b635921
Author: Deji Akingunola <dakingun at mail.com>
Date:   Mon Sep 12 20:57:50 2011 -0400

    Place exaile's private modules in %datadir
    Trim (un-necessary?) requires

 exaile.spec |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/exaile.spec b/exaile.spec
index 81fd73a..7029f7d 100644
--- a/exaile.spec
+++ b/exaile.spec
@@ -1,9 +1,7 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
 Summary:	A music player
 Name:		exaile
 Version:	0.3.2.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 Group:		Applications/Multimedia
 License:	GPLv2+
 URL:		http://www.exaile.org
@@ -17,14 +15,10 @@ BuildRequires:	gettext help2man
 Requires:	python-mutagen >= 1.8
 Requires:	dbus-python
 Requires:	gstreamer-python >= 0.10
-Requires:	python-sqlite2
 Requires:	pygtk2
 Requires:	pygtk2-libglade
-#Requires:	gnome-python2-gtkhtml2
 Requires:	python-inotify
 Requires:	python-CDDB
-Requires:	python-sexy
-Requires:	gamin-python
 Requires:	hal
 
 BuildArch:	noarch
@@ -52,7 +46,7 @@ make %{?_smp_mflags}
 %install
 rm -rf %{buildroot}
 
-make install PREFIX=%{_prefix} LIBINSTALLDIR=%{python_sitelib} DESTDIR=%{buildroot}
+make install PREFIX=%{_prefix} LIBINSTALLDIR=%{_datadir} DESTDIR=%{buildroot}
 
 desktop-file-install --delete-original			\
 	--vendor="fedora"				\
@@ -73,9 +67,12 @@ rm -rf %{buildroot}
 %{_datadir}/exaile/
 %{_sysconfdir}/xdg/exaile/
 %{_mandir}/man1/exaile*.*
-%{python_sitelib}/exaile/
 
 %changelog
+* Mon Sep 12 2011 Deji Akingunola <dakingun at gmail.com> - 0.3.2.2-2
+- Place exaile's private modules in %datadir
+- Trim (un-necessary?) requires
+
 * Wed Aug 31 2011 Deji Akingunola <dakingun at gmail.com> - 0.3.2.2-1
 - Update to 0.3.2.2
 


More information about the scm-commits mailing list