[python-sphinx_rtd_theme] Use license macro.
Jerry James
jjames at fedoraproject.org
Sun Feb 22 00:14:12 UTC 2015
commit f20194157eb41897fdee0c6a7e115ff4e832aaf7
Author: Jerry James <loganjerry at gmail.com>
Date: Sat Feb 21 17:13:50 2015 -0700
Use license macro.
python-sphinx_rtd_theme.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec
index 446c3fa..0caa31d 100644
--- a/python-sphinx_rtd_theme.spec
+++ b/python-sphinx_rtd_theme.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora} >= 12 || 0%{?rhel} >= 8
+%if 0%{?fedora} || 0%{?rhel} >= 8
%global with_py3 1
%endif
@@ -6,7 +6,7 @@
Name: python-%{pkgname}
Version: 0.1.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Sphinx theme for readthedocs.org
License: MIT
@@ -85,15 +85,20 @@ ln -s %{_datadir}/fonts/fontawesome/fontawesome-webfont.ttf \
%endif
%files
-%doc %{pkgname}-%{version}/LICENSE %{pkgname}-%{version}/README.rst
+%doc %{pkgname}-%{version}/README.rst
+%license %{pkgname}-%{version}/LICENSE
%{python2_sitelib}/%{pkgname}*
%if 0%{?with_py3}
%files -n python3-%{pkgname}
-%doc %{pkgname}-%{version}/LICENSE %{pkgname}-%{version}/README.rst
+%doc python3-%{pkgname}-%{version}/README.rst
+%license python3-%{pkgname}-%{version}/LICENSE
%{python3_sitelib}/%{pkgname}*
%endif
%changelog
+* Sat Feb 21 2015 Jerry James <loganjerry at gmail.com> - 0.1.6-2
+- Use license macro
+
* Thu Jul 3 2014 Jerry James <loganjerry at gmail.com> - 0.1.6-1
- Initial RPM
More information about the scm-commits
mailing list