packages: python-booty/python-booty.spec - (old changes) - install to stand...

glen glen at pld-linux.org
Fri May 8 13:27:53 CEST 2009


Author: glen                         Date: Fri May  8 11:27:53 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- (old changes)
- install to standard python libs
- noarch
- seems that this code is merged to anaconda now

---- Files affected:
packages/python-booty:
   python-booty.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/python-booty/python-booty.spec
diff -u packages/python-booty/python-booty.spec:1.18 packages/python-booty/python-booty.spec:1.19
--- packages/python-booty/python-booty.spec:1.18	Tue Nov 18 00:27:05 2008
+++ packages/python-booty/python-booty.spec	Fri May  8 13:27:48 2009
@@ -15,6 +15,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.234
 Requires:	python-rhpl >= 0.176-1.1
 %pyrequires_eq	python-libs
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,18 +33,16 @@
 
 %build
 %{__make} \
-	CC="%{__cc}" \
-	CFLAGS='%{rpmcflags} -fPIC -Wall -I$(PYTHONINCLUDE)' \
-	PYTHONLIBDIR=%{_libdir}/booty
+	PYTHONLIBDIR=%{py_sitescriptdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
-	PYTHONLIBDIR=%{_libdir}/booty
+	PYTHONLIBDIR=%{py_sitescriptdir}
 
-%py_postclean %{_libdir}/booty
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -51,12 +50,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README TODO
-%dir %{_libdir}/booty
-%{_libdir}/booty/bootloaderInfo.py[co]
-%{_libdir}/booty/booty.py[co]
-%{_libdir}/booty/checkbootloader.py[co]
-%{_libdir}/booty/grubupdatetest.py[co]
-%{_libdir}/booty/lilo.py[co]
+%{py_sitescriptdir}/*.py[co]
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +58,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2009/05/08 11:27:48  glen
+- (old changes)
+- install to standard python libs
+- noarch
+- seems that this code is merged to anaconda now
+
 Revision 1.18  2008/11/17 23:27:05  patrys
 - updated menu.lst patch
 - rel 6
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-booty/python-booty.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list