From c9a92c5a26803e9507a3038fccac60c3bf531cb3 Mon Sep 17 00:00:00 2001 From: Tadej Janež Date: Oct 01 2021 10:47:55 +0000 Subject: Simplify applying patches and remove obsolete if statement --- diff --git a/pew.spec b/pew.spec index db6630c..7a4cd67 100644 --- a/pew.spec +++ b/pew.spec @@ -46,8 +46,6 @@ BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3dist(virtualenv) >= 1.11 BuildRequires: python3dist(virtualenv-clone) >= 0.2.5 -# Required for %%autosetup. -BuildRequires: git-core %if %{with check} BuildRequires: python3dist(pytest) @@ -64,10 +62,7 @@ single (configurable) location. %prep -%autosetup -n %{name}-%{version} -N -S git -%if %{without py_ver_management} -%autopatch -%endif +%autosetup -p 1 -n %{name}-%{version} # Rename the Fedora-specific README.md to avoid conflict with the upstream # README.md. @@ -106,6 +101,7 @@ py.test-3 -v tests %changelog * Fri Oct 01 2021 Tadej Janež - 1.2.0-13 - Backport upstream PR #214 to enable Pew to be used on recent Fedora versions +- Simplify applying patches and remove obsolete if statement * Fri Jul 23 2021 Fedora Release Engineering - 1.2.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild