Author: aredridel                    Date: Wed Feb 22 06:15:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added fhs patch, NFY

---- Files affected:
SPECS:
   rpm-analyzer.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/rpm-analyzer.spec
diff -u SPECS/rpm-analyzer.spec:1.1 SPECS/rpm-analyzer.spec:1.2
--- SPECS/rpm-analyzer.spec:1.1 Wed Feb 22 06:33:41 2006
+++ SPECS/rpm-analyzer.spec     Wed Feb 22 07:15:28 2006
@@ -5,13 +5,14 @@
 Release:       1
 Source0:       %{name}-%{version}.tar.bz2
 #Source0-MD5:  af90f4cb43b21f4597a2fd3b6eb80f5d
+Patch0:                %{name}-fhs.patch
 License:       GPL
 Group:         Applications
-Requires:      libxml2-python
-Requires:      pygtk2
-Requires:      python2 >= 2.2
-Requires:      rhpl
-Requires:      rpm-python
+Requires:      python >= 2.2
+Requires:      python-libxml2
+Requires:      python-pygtk-gtk >= 2.0
+Requires:      python-rhpl
+Requires:      python-rpm
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,14 +25,16 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make}
+sed -ie 's!/usr/bin/python2!/usr/bin/python!g' src/*.py
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} install
 %{__make} MANDIR=$RPM_BUILD_ROOT/%{_mandir} install-man
 
 %clean
@@ -40,7 +43,7 @@
 %files
 %defattr(644,root,root,755)
 %doc COPYING Changelog
-%{_prefix}/local/bin/rpm-analyzer
+%attr(755,root,root) %{_bindir}/rpm-analyzer
 %dir %{_datadir}/rpm-analyzer
 %{_datadir}/rpm-analyzer/*.py
 %dir %{_datadir}/rpm-analyzer/package_mgr
@@ -53,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/02/22 06:15:28  aredridel
+- added fhs patch, NFY
+
 Revision 1.1  2006/02/22 05:33:41  aredridel
 - added
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/rpm-analyzer.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to