diff --git a/.gitignore b/.gitignore index 8bdd4d4..2e02df4 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/python-qrcode.spec b/python-qrcode.spec index 68a5fc2..c8027ca 100644 --- a/python-qrcode.spec +++ b/python-qrcode.spec @@ -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 - 6.1-1 +- Update to latest upstream release 6.1 + * Sat Feb 02 2019 Fedora Release Engineering - 5.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index ccb183d..3c4ac8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1f20223419bbf992208ada0c12ed4577 qrcode-5.1.tar.gz +SHA512 (qrcode-6.1.tar.gz) = 4831553932442f5535cba15d5958a656b399112f0f379c28ad9b610c33d88ec6d0613dc7047a2315606e49f027bfd13a15a332ce86b80040d56e1114a0f62251