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
@@ -28,16 +28,15 @@ URL: https://github.com/mnooner256/pyqrcode
|
||||
# This is unofficial fork with some additional fixes, the canonical
|
||||
# upstream repository is dead.
|
||||
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 setuptools}
|
||||
BuildRequires: %{python_module pypng}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -45,8 +44,7 @@ The PyQRCode module is a QR code generator that is simple to use and written in
|
||||
|
||||
%prep
|
||||
%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
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user