From e1cfa04f195b77a9143824445a311afa90198726 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mar 27 2018 14:39:29 +0000 Subject: Use python3 always Signed-off-by: Igor Gnatenko --- diff --git a/bcache-tools.spec b/bcache-tools.spec index 8a0bda9..658d14b 100644 --- a/bcache-tools.spec +++ b/bcache-tools.spec @@ -1,15 +1,9 @@ #global gitdate 20131018 -%if 0%{?fedora} >= 23 -%global need_python3 1 -%else -%global need_python3 0 -%endif - Summary: Tools for Linux kernel block layer cache Name: bcache-tools Version: 1.0.8 -Release: 11%{?dist} +Release: 12%{?dist} License: GPLv2 Group: System Environment/Base URL: http://bcache.evilpiepirate.org/ @@ -44,11 +38,6 @@ Patch5: bcache-status-python3.patch # Fix BZ#1360951 - this fix is python 3 only Patch6: bcache-status-rootgc.patch -%if %{need_python3} -Requires: python3 -%else -Requires: python -%endif # This is a kind of soft dependency: because we don't include probe-bcache # we have to make sure that libblkid is able to identify bcache. So this # is why it requires recent libblkid. @@ -75,10 +64,8 @@ chmod +x configure %patch3 -p1 -b .noprobe %patch4 -p1 -b .crc64 -%if %{need_python3} %patch5 -p1 -b .python3 %patch6 -p1 -b .rootgc -%endif %build %configure @@ -119,6 +106,9 @@ install -p -m 755 bcache-status %{buildroot}%{_sbindir}/bcache-status %{dracutlibdir}/modules.d/90bcache %changelog +* Tue Mar 27 2018 Igor Gnatenko - 1.0.8-12 +- Use python3 always + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild