[packages/python-networkmanager] package examples
glen
glen at pld-linux.org
Sun May 12 11:27:47 CEST 2013
commit 9a1f5d8ff3b6cf3bd9859a02a15c1b2c249d798e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun May 12 12:27:39 2013 +0300
package examples
python-networkmanager.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/python-networkmanager.spec b/python-networkmanager.spec
index eb888ab..2b0862a 100644
--- a/python-networkmanager.spec
+++ b/python-networkmanager.spec
@@ -51,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
%py_postclean
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -60,6 +63,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/n-m
%{py_sitescriptdir}/NetworkManager.py[co]
%{py_sitescriptdir}/python_networkmanager-%{version}-py*.egg-info
+%{_examplesdir}/%{name}-%{version}
%files apidoc
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-networkmanager.git/commitdiff/9a1f5d8ff3b6cf3bd9859a02a15c1b2c249d798e
More information about the pld-cvs-commit
mailing list