forked from pool/python-rjsmin
Accepting request 703244 from home:eapodaca:branches:devel:languages:python
- Update to 1.1.0 + See changes file for changes - Add check phase to spec - Remove documentation subpackage OBS-URL: https://build.opensuse.org/request/show/703244 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rjsmin?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
98cf96ed57
commit
272875d27f
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 15 18:27:39 UTC 2019 - Ethan Apodaca <eapodaca@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.1.0
|
||||||
|
+ See changes file for changes
|
||||||
|
- Add check phase to spec
|
||||||
|
- Remove documentation subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 15 17:45:23 UTC 2017 - buschmann23@opensuse.org
|
Wed Nov 15 17:45:23 UTC 2017 - buschmann23@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rjsmin
|
# spec file for package python-rjsmin
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,27 +12,28 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
%define mod_name rjsmin
|
%define mod_name rjsmin
|
||||||
|
%define release_sha 53a0848b2372c1b49c03326bc8209ea39e889c47
|
||||||
Name: python-%{mod_name}
|
Name: python-%{mod_name}
|
||||||
Version: 1.0.12
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: RJSmin is a JavaScript Minifier Written in Python
|
Summary: RJSmin is a JavaScript Minifier Written in Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://opensource.perlig.de/rjsmin/
|
URL: http://opensource.perlig.de/rjsmin/
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/%{mod_name}/%{mod_name}-%{version}.tar.gz
|
Source: https://github.com/ndparker/rjsmin/archive/%{release_sha}.tar.gz#/%{mod_name}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-mock
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Obsoletes: %{name}-doc
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -43,29 +44,22 @@ The minifier is based on the semantics of jsmin.c by Douglas Crockford.
|
|||||||
The module is a re-implementation aiming for speed, so it can be used
|
The module is a re-implementation aiming for speed, so it can be used
|
||||||
at runtime (rather than during a preprocessing step).
|
at runtime (rather than during a preprocessing step).
|
||||||
|
|
||||||
%package -n %{name}-docs
|
|
||||||
Summary: Documentation files for %name
|
|
||||||
Group: Documentation/HTML
|
|
||||||
|
|
||||||
%description -n %{name}-docs
|
|
||||||
HTML Documentation and examples for %name.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{mod_name}-%{version}
|
%setup -q -n %{mod_name}-%{release_sha}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
rm -rf %{buildroot}/usr/share/doc/rjsmin
|
rm -rf %{buildroot}%{_datadir}/doc/rjsmin
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest_arch
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc LICENSE README.rst docs/CHANGES
|
%doc README.md docs/CHANGES
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%files -n %{name}-docs
|
|
||||||
%doc docs/apidoc/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dd9591aa73500b08b7db24367f8d32c6470021f39d5ab4e50c7c02e4401386f1
|
|
||||||
size 446822
|
|
3
rjsmin-1.1.0.tar.gz
Normal file
3
rjsmin-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c2e6628107d89defc4f8187263e9444c392ee021058baaff188f9b6dae651a01
|
||||||
|
size 437023
|
Reference in New Issue
Block a user