From 4dd6becce5af24ec72c6a680dc9014ca1bf0a79b Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Tue, 8 Sep 2020 19:19:14 +0530 Subject: [PATCH] Update to 1.1.0 --- .gitignore | 1 + python-rjsmin.spec | 21 +++++++++++++-------- sources | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index b986453..3267f31 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /rjsmin-1.0.12.tar.gz +/rjsmin-1.1.0.tar.gz diff --git a/python-rjsmin.spec b/python-rjsmin.spec index e656cd2..c57c4d8 100644 --- a/python-rjsmin.spec +++ b/python-rjsmin.spec @@ -2,8 +2,8 @@ %global pypi_name rjsmin Name: python-%{pypi_name} -Version: 1.0.12 -Release: 20%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Javascript Minifier License: ASL 2.0 @@ -45,6 +45,10 @@ same results as the original jsmin.c. %package docs Summary: Javascript Minifier - docs + +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme + %description docs Docs for rJSmin, which is a javascript minifier written in python. @@ -68,17 +72,15 @@ sed -i '1d' rjsmin.py %build %py3_build +sphinx-build -b html docs/_userdoc docs/_userdoc/html + %install # Must do the subpackages' install first because the scripts in /usr/bin are # overwritten with every setup.py install. %py3_install - -# remove upstream developer documentation -rm -r %{buildroot}/%{_docdir}/%{pypi_name}/ - %files -n python3-%{pypi_name} -%doc README.rst +%doc README.md %license LICENSE %{python3_sitearch}/%{pypi_name}.py %{python3_sitearch}/_%{pypi_name}.cpython* @@ -86,9 +88,12 @@ rm -r %{buildroot}/%{_docdir}/%{pypi_name}/ %{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %files docs -%doc README.rst docs +%doc README.md docs/_userdoc/html %changelog +* Tue Sep 08 2020 Yatin Karel - 1.1.0-1 +- Update to 1.1.0 + * Wed Jul 29 2020 Fedora Release Engineering - 1.0.12-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 6fd8ebe..19dcad9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9f67e133c88df5497d3da847603da9bf rjsmin-1.0.12.tar.gz +SHA512 (rjsmin-1.1.0.tar.gz) = e89641666f4235e5125e33a8da727a204bd0f263c101833849d8368edb7522a184b0f6d87da39690b7e8c1dad0ae8a40508b019e971393a3ad99440ad8ccc3fc