* 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-2.4.1.tar.gz
/qrcode-5.0.1.tar.gz /qrcode-5.0.1.tar.gz
/qrcode-5.1.tar.gz /qrcode-5.1.tar.gz
/qrcode-6.1.tar.gz

View File

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