summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormh <mh@scrit.ch>2017-01-20 16:27:17 +0100
committermh <mh@scrit.ch>2017-01-20 16:27:17 +0100
commit9112f79998744e7a2de5b3787aae3734c57e1e02 (patch)
tree1818805c283340f3e8e055ba84e672a08b90c048
parent76e968fb73f1503dcf6fd5ebf81a88640569aafd (diff)
fix license and include doc in both packages
-rw-r--r--SPECS/python-onionbalance.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/SPECS/python-onionbalance.spec b/SPECS/python-onionbalance.spec
index a49978c..fee15fe 100644
--- a/SPECS/python-onionbalance.spec
+++ b/SPECS/python-onionbalance.spec
@@ -31,7 +31,7 @@ Version: 0.1.6
Release: 1%{?dist}
Summary: %{sum}
-License: BSD
+License: GPLv3
URL: http://pypi.python.org/pypi/%{tarname}
Source0: https://github.com/DonnchaC/%{pkgname}/releases/download/%{version}/%{pkgname}-%{version}.tar.gz
Source1: onionbalance.service
@@ -211,15 +211,17 @@ exit 0
%systemd_postun_with_restart onionbalance.service
%files -n python2-%{pkgname}
+%doc README.rst
+%doc README.fedora
+%doc onionbalance.torrc.example
%license COPYING
+%doc docs/_build/html
+%doc %attr(0644,root,root) %{_mandir}/man1/%{pkgname}*
%{python2_sitelib}/*
%if 0%{?with_python3}
%{_bindir}/%{pkgname}-py2
%{_bindir}/%{pkgname}-config-py2
%else
-%doc README.rst
-%doc README.fedora
-%doc onionbalance.torrc.example
%{_bindir}/%{pkgname}
%{_bindir}/%{pkgname}-config
%{_unitdir}/%{pkgname}.service