forked from pool/python-PyQRCode
- Sort out with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyQRCode?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
29d5d341ff
commit
87d81c7415
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 1 08:43:21 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Sort out with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 25 17:35:15 CET 2019 - Matej Cepl <mcepl@suse.com>
|
Mon Mar 25 17:35:15 CET 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -28,16 +28,15 @@ URL: https://github.com/mnooner256/pyqrcode
|
|||||||
# This is unofficial fork with some additional fixes, the canonical
|
# This is unofficial fork with some additional fixes, the canonical
|
||||||
# upstream repository is dead.
|
# upstream repository is dead.
|
||||||
Source: https://github.com/heuer/pyqrcode/archive/%{version}.tar.gz
|
Source: https://github.com/heuer/pyqrcode/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module Sphinx}
|
||||||
|
BuildRequires: %{python_module pypng}
|
||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module pypng}
|
|
||||||
BuildRequires: %{python_module Sphinx}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -45,8 +44,7 @@ The PyQRCode module is a QR code generator that is simple to use and written in
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyqrcode-%{version}
|
%setup -q -n pyqrcode-%{version}
|
||||||
sed -i -e '1{\@^#!/usr/bin/env python@d}' pyqrcode/{cli,qrspecial}.py
|
sed -i -e '1{\@^#!%{_bindir}/env python@d}' pyqrcode/{cli,qrspecial}.py
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Reference in New Issue
Block a user