From ec893205505b80d6c3684f78a477d647cf120861 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 27 Sep 2017 14:54:40 -0700 Subject: [PATCH] Cleanup spec file conditionals --- langtable.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/langtable.spec b/langtable.spec index ab3462a..1d9cbd8 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 8 %global with_python3 1 %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} @@ -6,7 +6,7 @@ Name: langtable Version: 0.0.37 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -123,6 +123,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Wed Sep 27 2017 Troy Dawson - 0.0.37-4 +- Cleanup spec file conditionals + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.0.37-3 - Python 2 binary package renamed to python2-langtable See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3