SPECS: python-pybluez.spec - Example files added

beorn beorn at pld-linux.org
Thu Jun 28 22:03:01 CEST 2007


Author: beorn                        Date: Thu Jun 28 20:03:01 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Example files added

---- Files affected:
SPECS:
   python-pybluez.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/python-pybluez.spec
diff -u SPECS/python-pybluez.spec:1.3 SPECS/python-pybluez.spec:1.4
--- SPECS/python-pybluez.spec:1.3	Thu Jun 28 21:58:11 2007
+++ SPECS/python-pybluez.spec	Thu Jun 28 22:02:56 2007
@@ -30,6 +30,7 @@
 %{__python} setup.py build
 
 %install
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--install-purelib=%{py_sitedir}
@@ -37,6 +38,7 @@
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
+cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -45,6 +47,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/_bluetooth.so
 %{py_sitedir}/*.py[co]
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -52,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/06/28 20:02:56  beorn
+- Example files added
+
 Revision 1.3  2007/06/28 19:58:11  beorn
 - One more missing BR:
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-pybluez.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list