|
rdobuilder |
c83dd0 |
## START: Set by rpmautospec
|
|
rdobuilder |
c83dd0 |
## (rpmautospec version 0.2.6)
|
|
rdobuilder |
c83dd0 |
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
|
rdobuilder |
c83dd0 |
release_number = 1;
|
|
rdobuilder |
c83dd0 |
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
rdobuilder |
c83dd0 |
print(release_number + base_release_number - 1);
|
|
rdobuilder |
c83dd0 |
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
|
rdobuilder |
c83dd0 |
## END: Set by rpmautospec
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%global pypi_name rcssmin
|
|
rdobuilder |
c83dd0 |
%global desc %{expand: \
|
|
rdobuilder |
c83dd0 |
RCSSmin is a CSS minifier.
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
The minifier is based on the semantics of the YUI compressor, which itself
|
|
rdobuilder |
c83dd0 |
is based on the rule list by Isaac Schlueter.
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
This module is a re-implementation aiming for speed instead of maximum
|
|
rdobuilder |
c83dd0 |
compression, so it can be used at runtime (rather than during a preprocessing
|
|
rdobuilder |
c83dd0 |
step).}
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
Name: python-%{pypi_name}
|
|
rdobuilder |
c83dd0 |
Version: 1.1.1
|
|
rdobuilder |
c83dd0 |
Release: %autorelease
|
|
rdobuilder |
c83dd0 |
Summary: CSS Minifier
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
License: Apache-2.0
|
|
rdobuilder |
c83dd0 |
URL: http://opensource.perlig.de/rcssmin/
|
|
rdobuilder |
c83dd0 |
Source0: %{pypi_source}
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
BuildRequires: gcc
|
|
rdobuilder |
c83dd0 |
BuildRequires: python3-devel
|
|
rdobuilder |
c83dd0 |
BuildRequires: python3-pytest
|
|
rdobuilder |
c83dd0 |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%description
|
|
rdobuilder |
c83dd0 |
%{desc}
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%package -n python3-%{pypi_name}
|
|
rdobuilder |
c83dd0 |
Summary: CSS Minifier
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%description -n python3-%{pypi_name}
|
|
rdobuilder |
c83dd0 |
%{desc}
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%prep
|
|
rdobuilder |
c83dd0 |
%autosetup -n %{pypi_name}-%{version}
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
# strip bang path from rcssmin.py
|
|
rdobuilder |
c83dd0 |
sed -i '1d' rcssmin.py
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%generate_buildrequires
|
|
rdobuilder |
c83dd0 |
%pyproject_buildrequires
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%build
|
|
rdobuilder |
c83dd0 |
%pyproject_wheel
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%install
|
|
rdobuilder |
c83dd0 |
%pyproject_install
|
|
rdobuilder |
c83dd0 |
%pyproject_save_files %{pypi_name}
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%check
|
|
rdobuilder |
c83dd0 |
%pytest -v
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
rdobuilder |
c83dd0 |
%doc README.md
|
|
rdobuilder |
c83dd0 |
%{python3_sitearch}/_%{pypi_name}.cpython*
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
%changelog
|
|
rdobuilder |
c83dd0 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-27
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.6-26
|
|
rdobuilder |
c83dd0 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-25
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-24
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.6-23
|
|
rdobuilder |
c83dd0 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-22
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-21
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-20
|
|
rdobuilder |
c83dd0 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-19
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-18
|
|
rdobuilder |
c83dd0 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-17
|
|
rdobuilder |
c83dd0 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-16
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-15
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.6-14
|
|
rdobuilder |
c83dd0 |
- Python2 binary package has been removed
|
|
rdobuilder |
c83dd0 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-13
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-12
|
|
rdobuilder |
c83dd0 |
- Rebuilt for Python 3.7
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-11
|
|
rdobuilder |
c83dd0 |
- Rebuilt for Python 3.7
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Wed Feb 21 2018 Matthias Runge <mrunge@redhat.com> - 1.0.6-10
|
|
rdobuilder |
c83dd0 |
- add gcc to buildrequires
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-9
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Mon Jan 29 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.6-8
|
|
rdobuilder |
c83dd0 |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
c83dd0 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-7
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-6
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-5
|
|
rdobuilder |
c83dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-4
|
|
rdobuilder |
c83dd0 |
- Rebuild for Python 3.6
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
|
|
rdobuilder |
c83dd0 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Tue May 31 2016 Matthias Runge <mrunge@redhat.com> - 1.0.6-2
|
|
rdobuilder |
c83dd0 |
- build python3 on only on Fedora
|
|
rdobuilder |
c83dd0 |
|
|
rdobuilder |
c83dd0 |
* Fri Feb 26 2016 Matthias Runge <mrunge@redhat.com> - 1.0.6-1
|
|
rdobuilder |
c83dd0 |
- Initial package. (rhbz#1312360)
|
|
rdobuilder |
c83dd0 |
|