SPECS: python-ply.spec - up to 3.1 - cleaning - %files
duddits
duddits at pld-linux.org
Sat Mar 14 16:20:25 CET 2009
Author: duddits Date: Sat Mar 14 15:20:24 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 3.1
- cleaning
- %files
---- Files affected:
SPECS:
python-ply.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/python-ply.spec
diff -u SPECS/python-ply.spec:1.19 SPECS/python-ply.spec:1.20
--- SPECS/python-ply.spec:1.19 Tue Feb 13 09:06:43 2007
+++ SPECS/python-ply.spec Sat Mar 14 16:20:19 2009
@@ -5,12 +5,12 @@
Summary: Python Lex-Yacc
Summary(pl.UTF-8): lex i yacc dla Pythona
Name: python-%{module}
-Version: 1.7
-Release: 0.2
+Version: 3.1
+Release: 0.1
License: LGPL
Group: Libraries/Python
Source0: http://www.dabeaz.com/ply/ply-%{version}.tar.gz
-# Source0-md5: 95e1cc90132f7e9b7fe0877c922dd0b2
+# Source0-md5: 20f5b0965ee9f644ee8db88224db4540
URL: http://www.dabeaz.com/ply/
BuildRequires: python >= 2.2.1
%pyrequires_eq python
@@ -61,18 +61,22 @@
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-%__python setup.py install --root $RPM_BUILD_ROOT --optimize 1
+%{__python} setup.py install --root $RPM_BUILD_ROOT --optimize 1
%py_postclean
cp -Rf example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+# we already have these files in %doc
+rm -fr $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-*.egg-info
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGES README TODO doc/*.html
-%{py_sitescriptdir}/*.py[co]
+%doc CHANGES README TODO doc/*.html ply.egg-info/*
+%dir %{py_sitescriptdir}/ply
+%{py_sitescriptdir}/ply/*.py[co]
%files examples
%defattr(644,root,root,755)
@@ -84,6 +88,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2009/03/14 15:20:19 duddits
+- up to 3.1
+- cleaning
+- %files
+
Revision 1.19 2007/02/13 08:06:43 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-ply.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list