* Sun May 26 2019 Fabian Affolter <mail@fabian-affolter.ch> - 6.1-1

- Update to latest upstream release 6.1
This commit is contained in:
Fabian Affolter 2019-05-26 17:29:33 +02:00
parent e9964b58aa
commit 253cdfc27c
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F
3 changed files with 10 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/qrcode-2.4.1.tar.gz
/qrcode-5.0.1.tar.gz
/qrcode-5.1.tar.gz
/qrcode-6.1.tar.gz

View File

@ -1,14 +1,13 @@
%global pkgname qrcode
Name: python-%{pkgname}
Version: 5.1
Release: 15%{?dist}
Version: 6.1
Release: 1%{?dist}
Summary: Python QR Code image generator
License: BSD
URL: https://github.com/lincolnloop/python-qrcode
Source0: http://pypi.python.org/packages/source/q/qrcode/qrcode-%{version}.tar.gz
Source0: https://pypi.python.org/packages/source/q/qrcode/qrcode-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
@ -33,7 +32,6 @@ Requires: python3-%{pkgname}-core = %{version}-%{release}
This module uses the Python Imaging Library (PIL) to allow for the
generation of QR Codes. Python 3 version.
%package -n python3-%{pkgname}-core
Requires: python3-six
Summary: Python 3 QR Code image generator (core library)
@ -41,9 +39,8 @@ Summary: Python 3 QR Code image generator (core library)
%description -n python3-%{pkgname}-core
Core Python 3 module for QR code generation. Does not contain image rendering.
%prep
%setup -q -n qrcode-%{version}
%autosetup -n qrcode-%{version}
# The pure plugin requires pymaging which is not packaged in Fedora.
rm qrcode/image/pure.py*
@ -82,7 +79,6 @@ do
%{__python3} -c "import $m"
done
%files -n python3-%{pkgname}
%{_bindir}/qr
%{_bindir}/qrcode
@ -92,8 +88,7 @@ done
%{python3_sitelib}/%{pkgname}/image/__pycache__/svg.*
%{python3_sitelib}/%{pkgname}/image/__pycache__/pil.*
%files -n python3-%{pkgname}-core
%files -n python3-%{pkgname}-core
%doc README.rst CHANGES.rst
%license LICENSE
%dir %{python3_sitelib}/%{pkgname}/
@ -107,8 +102,10 @@ done
%{python3_sitelib}/%{pkgname}/image/__pycache__/__init__.*
%{python3_sitelib}/%{pkgname}/image/__pycache__/base.*
%changelog
* Sun May 26 2019 Fabian Affolter <mail@fabian-affolter.ch> - 6.1-1
- Update to latest upstream release 6.1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
1f20223419bbf992208ada0c12ed4577 qrcode-5.1.tar.gz
SHA512 (qrcode-6.1.tar.gz) = 4831553932442f5535cba15d5958a656b399112f0f379c28ad9b610c33d88ec6d0613dc7047a2315606e49f027bfd13a15a332ce86b80040d56e1114a0f62251