* 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:
parent
e9964b58aa
commit
253cdfc27c
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user