From f540a162e80701312ec5e07b803832ce97ae2a91 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 28 Sep 2017 08:20:48 -0700 Subject: [PATCH] Cleanup spec file conditionals --- libbytesize.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libbytesize.spec b/libbytesize.spec index dc35785..8459da8 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -2,17 +2,14 @@ %define with_python3 1 %define with_gtk_doc 1 -%define is_rhel 0%{?rhel} != 0 - -# python3 is not available on RHEL -%if %{is_rhel} +%if ! 0%{?fedora} && 0%{?rhel} <= 7 %define with_python3 0 %define configure_opts --without-python3 %endif Name: libbytesize Version: 1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for working with sizes in bytes License: LGPLv2+ URL: https://github.com/storaged-project/libbytesize @@ -110,6 +107,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm} %endif %changelog +* Thu Sep 28 2017 Troy Dawson - 1.1-2 +- Cleanup spec file conditionals + * Thu Sep 21 2017 Vratislav Podzimek - 1.1-1 - Add NEWS.rst file (vtrefny) - Fix source and url in spec file (vtrefny)