[python-iptables] Simplify installing docs, own package doc dir.

Ville Skyttä scop at fedoraproject.org
Sat Dec 14 19:13:42 UTC 2013


commit 210360d25872168eab61f0d04a61709a1f741a89
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Dec 14 21:13:47 2013 +0200

    Simplify installing docs, own package doc dir.

 python-iptables.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/python-iptables.spec b/python-iptables.spec
index 42c194c..66f1d24 100644
--- a/python-iptables.spec
+++ b/python-iptables.spec
@@ -6,7 +6,7 @@
 Summary: Python library for manipulating iptables
 Name: python-iptables
 Version: 0.1.0
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: ASL 2.0
 Group: Development/Libraries
 URL: https://github.com/clalancette/python-iptables
@@ -26,18 +26,18 @@ python setup.py build
 
 %install
 python setup.py install --root=$RPM_BUILD_ROOT --skip-build
-mkdir -p %{buildroot}%{_docdir}/%{name}
-cp NOTICE %{buildroot}%{_docdir}/%{name}
-
 
 %files
-%doc %{_docdir}/%{name}/NOTICE
+%doc NOTICE
 %{python_sitearch}/iptc
 %{python_sitearch}/libxtwrapper.so
 %{python_sitearch}/python_iptables-*.egg-info
 
 
 %changelog
+* Sat Dec 14 2013 Ville Skyttä <ville.skytta at iki.fi> - 0.1.0-8
+- Simplify installing docs, own package doc dir.
+
 * Mon Aug 12 2013 Chris Lalancette <clalancette at gmail.com> - 0.1.0-7
 - Rebuild to remove version from docdir
 


More information about the scm-commits mailing list