Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-09-27 08:25:54 -07:00
parent 65c61b7aa7
commit 906e9cd794

View File

@ -1,6 +1,6 @@
%global modname ply
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} >= 8
%bcond_without python3
%else
%bcond_with python3
@ -9,7 +9,7 @@
Name: python-%{modname}
Summary: Python Lex-Yacc
Version: 3.9
Release: 4%{?dist}
Release: 5%{?dist}
License: BSD
URL: http://www.dabeaz.com/ply/
Source0: http://www.dabeaz.com/ply/%{modname}-%{version}.tar.gz
@ -138,6 +138,9 @@ popd
%endif # with python3
%changelog
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 3.9-5
- Cleanup spec file conditionals
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild