From 465ef82a46839d4dc8d5c6a9be1bca87d0fd9a97 Mon Sep 17 00:00:00 2001 From: Jonny Heggheim Date: Nov 14 2022 21:42:53 +0000 Subject: Removed usage of %srcname --- diff --git a/python-allpairspy.spec b/python-allpairspy.spec index c3a70f5..7166c60 100644 --- a/python-allpairspy.spec +++ b/python-allpairspy.spec @@ -1,13 +1,13 @@ %global srcname allpairspy -Name: python-%{srcname} +Name: python-allpairspy Version: 2.5.0 Release: 7%{?dist} Summary: Pairwise test combinations generator License: MIT URL: https://github.com/thombashi/allpairspy -Source0: %{pypi_source} +Source0: %{pypi_source allpairspy} #https://github.com/thombashi/allpairspy/pull/9 Source1: https://raw.githubusercontent.com/thombashi/allpairspy/v2.5.0/LICENSE.txt @@ -17,19 +17,19 @@ BuildArch: noarch %description %{summary}. -%package -n python3-%{srcname} +%package -n python3-allpairspy Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-six BuildRequires: python3-pytest BuildRequires: python3-setuptools -%description -n python3-%{srcname} +%description -n python3-allpairspy %{summary}. %prep -%setup -q -n %{srcname}-%{version} -rm -rf %{srcname}.egg-info +%setup -q -n allpairspy-%{version} +rm -rf allpairspy.egg-info chmod -R -x+X . install -m 644 %{SOURCE1} . @@ -44,11 +44,11 @@ install -m 644 %{SOURCE1} . %{pytest} -%files -n python3-%{srcname} +%files -n python3-allpairspy %doc README.rst %license LICENSE.txt -%{python3_sitelib}/%{srcname}-*.egg-info/ -%{python3_sitelib}/%{srcname}/ +%{python3_sitelib}/allpairspy-*.egg-info/ +%{python3_sitelib}/allpairspy/ %changelog * Mon Nov 14 2022 Jonny Heggheim - 2.5.0-7