SPECS: python-pyao.spec - File test.py moved from -devel package t...

beorn beorn at pld-linux.org
Fri Mar 2 22:26:02 CET 2007


Author: beorn                        Date: Fri Mar  2 21:26:02 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- File test.py moved from -devel package to _examplesdir of the base package (it is an example usage of the python module, not aomodule.h header file)

---- Files affected:
SPECS:
   python-pyao.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/python-pyao.spec
diff -u SPECS/python-pyao.spec:1.15 SPECS/python-pyao.spec:1.16
--- SPECS/python-pyao.spec:1.15	Tue Feb 13 09:06:43 2007
+++ SPECS/python-pyao.spec	Fri Mar  2 22:25:56 2007
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Moduł Pythona do biblioteki ao
 Name:		python-%{module}
 Version:	0.82
-Release:	2
+Release:	3
 License:	GPL
 Group:		Libraries/Python
 Source0:	http://ekyo.nerim.net/software/pyogg/%{module}-%{version}.tar.gz
@@ -52,6 +52,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_incdir}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 python setup.py install \
 	--root $RPM_BUILD_ROOT
@@ -59,6 +60,7 @@
 install src/aomodule.h $RPM_BUILD_ROOT%{py_incdir}
 
 chmod -x test.py
+install test.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,11 +68,11 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
+%{_examplesdir}/%{name}-%{version}
 %attr(755,root,root) %{py_sitedir}/*.so
 
 %files devel
 %defattr(644,root,root,755)
-%doc test.py
 %{py_incdir}/aomodule.h
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -79,6 +81,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2007/03/02 21:25:56  beorn
+- File test.py moved from -devel package to _examplesdir of the base package (it is an example usage of the python module, not aomodule.h header file)
+
 Revision 1.15  2007/02/13 08:06:43  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-pyao.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list