Update to 1.1.0

This commit is contained in:
yatinkarel 2020-09-08 19:19:14 +05:30
parent dea104f5c0
commit 4dd6becce5
3 changed files with 15 additions and 9 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/rjsmin-1.0.12.tar.gz
/rjsmin-1.1.0.tar.gz

View File

@ -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 <ykarel@redhat.com> - 1.1.0-1
- Update to 1.1.0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
9f67e133c88df5497d3da847603da9bf rjsmin-1.0.12.tar.gz
SHA512 (rjsmin-1.1.0.tar.gz) = e89641666f4235e5125e33a8da727a204bd0f263c101833849d8368edb7522a184b0f6d87da39690b7e8c1dad0ae8a40508b019e971393a3ad99440ad8ccc3fc