SPECS: python-fam.spec - up to 1.1.1

piti piti at pld-linux.org
Tue Jan 24 00:27:01 CET 2006


Author: piti                         Date: Mon Jan 23 23:27:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.1.1

---- Files affected:
SPECS:
   python-fam.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/python-fam.spec
diff -u SPECS/python-fam.spec:1.6 SPECS/python-fam.spec:1.7
--- SPECS/python-fam.spec:1.6	Sun May  1 20:02:05 2005
+++ SPECS/python-fam.spec	Tue Jan 24 00:26:54 2006
@@ -2,12 +2,12 @@
 Summary:	Python interface to FAM (File Alternation Monitor)
 Summary(pl):	Interfejs do FAM (File Alternation Monitor) dla Pythona
 Name:		python-fam
-Version:	1.0.2
-Release:	2
+Version:	1.1.1
+Release:	1
 License:	LGPL
 Group:		Development/Languages/Python
 Source0:	http://dl.sourceforge.net/python-fam/%{name}-%{version}.tar.gz
-# Source0-md5:	68e1a9ab61bdaf2954a305f007694f7c
+# Source0-md5:	f6c760c6d8e5ea69a3fce029f7973558
 URL:		http://python-fam.sf.net/
 BuildRequires:	perl-base
 BuildRequires:	python-devel >= 1:2.3
@@ -27,15 +27,13 @@
 %setup -q
 
 %build
-%{__perl} -pi -e 's/python2.2/python%{py_ver}/' Makefile
-%{__make}
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{release}}
-
-install _fam.so $RPM_BUILD_ROOT%{py_sitedir}
-install test.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{release}
+%{__python} setup.py install --root=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
+install test*.py $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,7 +41,7 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/_fam.so
-%{_examplesdir}/%{name}-%{release}
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,6 +49,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/01/23 23:26:54  piti
+- up to 1.1.1
+
 Revision 1.6  2005/05/01 18:02:05  glen
 - %description url unification
   find -name '*.spec' | xargs -l1024 sed -i -e 's#\(http://.\+/\) \.#<\1>.#g'
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-fam.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list