summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Haerry <mh+fedora@scrit.ch>2016-09-24 15:23:22 +0200
committerMarcel Haerry <mh+fedora@scrit.ch>2016-09-24 15:23:22 +0200
commitaa533e8bfef91f57e73c7d3764ee87c4fbc8ff62 (patch)
tree50f5544c76f6c76e99d5587ca08288e87b0af39e
parent4186bbb048e12c72778e3436bf266aec7c02c0c1 (diff)
add missing licenseHEADmaster
-rw-r--r--SPECS/python-sphinxcontrib-autoprogram.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/SPECS/python-sphinxcontrib-autoprogram.spec b/SPECS/python-sphinxcontrib-autoprogram.spec
index 73a8f59..933ae92 100644
--- a/SPECS/python-sphinxcontrib-autoprogram.spec
+++ b/SPECS/python-sphinxcontrib-autoprogram.spec
@@ -8,6 +8,7 @@ Summary: Sphinx extension for documenting CLI programs
License: BSD
URL: https://bitbucket.org/birkenfeld/sphinx-contrib
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+Source1: https://bitbucket.org/birkenfeld/sphinx-contrib/raw/1621e337bb236e17d9e3fe4e98976365c06cc5fb/LICENSE
BuildArch: noarch
BuildRequires: python-setuptools
@@ -52,6 +53,7 @@ program and option directives.
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
+cp %SOURCE1 .
%build
%py2_build
@@ -71,12 +73,14 @@ rm -rf %{pypi_name}.egg-info
%files -n python2-%{pypi_name}
%doc README.rst
+%license LICENSE
%{python2_sitelib}/sphinxcontrib
%{python2_sitelib}/sphinxcontrib_autoprogram-%{version}-py?.?-nspkg.pth
%{python2_sitelib}/sphinxcontrib_autoprogram-%{version}-py?.?.egg-info
%files -n python3-%{pypi_name}
%doc README.rst
+%license LICENSE
%{python3_sitelib}/sphinxcontrib
%{python3_sitelib}/sphinxcontrib_autoprogram-%{version}-py?.?-nspkg.pth
%{python3_sitelib}/sphinxcontrib_autoprogram-%{version}-py?.?.egg-info