SPECS: python-launchpad-bugs.spec - example sto %{_examplesdir}

glen glen at pld-linux.org
Mon Apr 27 11:49:18 CEST 2009


Author: glen                         Date: Mon Apr 27 09:49:18 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- example sto %{_examplesdir}

---- Files affected:
SPECS:
   python-launchpad-bugs.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/python-launchpad-bugs.spec
diff -u SPECS/python-launchpad-bugs.spec:1.5 SPECS/python-launchpad-bugs.spec:1.6
--- SPECS/python-launchpad-bugs.spec:1.5	Mon Apr 27 11:46:47 2009
+++ SPECS/python-launchpad-bugs.spec	Mon Apr 27 11:49:13 2009
@@ -25,10 +25,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 python setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %py_postclean
 
 %clean
@@ -37,9 +40,10 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS TODO
-%doc docs/* examples
+%doc docs/*
 %dir %{py_sitescriptdir}/launchpadbugs
 %{py_sitescriptdir}/launchpadbugs/*.py[co]
+%{_examplesdir}/%{name}-%{version}
 %if "%{py_ver}" > "2.4"
 %{py_sitescriptdir}/python_launchpad_bugs-*.egg-info
 %endif
@@ -50,6 +54,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2009/04/27 09:49:13  glen
+- example sto %{_examplesdir}
+
 Revision 1.5  2009/04/27 09:46:47  glen
 - py2.4 compatible
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-launchpad-bugs.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list