update to 1.1.0
This commit is contained in:
parent
e0e10b2d42
commit
db43cdd779
5 changed files with 72 additions and 34 deletions
|
|
@ -6,17 +6,24 @@
|
|||
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 1.0.2
|
||||
Release: 8%{?dist}
|
||||
Version: 1.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Low-level CSS parser for Python
|
||||
|
||||
License: BSD
|
||||
URL: https://pypi.python.org/pypi/%{srcname}/
|
||||
Source0: %pypi_source
|
||||
Source1: export-git-snapshot.sh
|
||||
# CSS parsing tests are governed by CC0 but not shipped in the final RPMs
|
||||
# There are no releases for CSS parsing tests so the archive below was created
|
||||
# with "export-git-snapshot.sh".
|
||||
Source2: css-parsing-tests-c5749e5.tar.gz
|
||||
# Fedora does not ship pytest's flake8/isort modules
|
||||
Patch0: %{name}-disable-flake8-isort-for-pytest.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: gzip
|
||||
BuildRequires: tar
|
||||
# required to run the tests
|
||||
BuildRequires: %{py3_prefix}-devel
|
||||
BuildRequires: %{py3_prefix}-pytest
|
||||
|
|
@ -44,7 +51,8 @@ specification.
|
|||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
|
||||
tar xf "%{SOURCE2}"
|
||||
cp -a css-parsing-tests-???????/* tests/css-parsing-tests/
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
|
@ -66,10 +74,13 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py?
|
|||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{srcname}/
|
||||
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
|
||||
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 07 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 1.1.0-1
|
||||
- update to 1.1.0
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue