15
0
Ismail Dönmez
2019-11-21 16:00:32 +00:00
committed by Git OBS Bridge
parent 8c898649d4
commit d659cbdbdd

View File

@@ -27,9 +27,10 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/redacted/XKCD-password-generator
Source: https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python3-base
BuildRequires: %{python_module setuptools}
BuildArch: noarch
%python_subpackages
@@ -41,10 +42,13 @@ inspired by XKCD 936 (https://xkcd.com/936/)
%setup -q -n XKCD-password-generator-xkcdpass-%{version}
%build
%python_build
%{python_build}
%check
%{pytest}
%install
%python_install
%{python_install}
# Remove the shebang
sed -i -e '1d' %{buildroot}%{python_sitelib}/xkcdpass/xkcd_password.py