diff --git a/coan.spec b/coan.spec index 81dc74d..e8e300f 100644 --- a/coan.spec +++ b/coan.spec @@ -1,30 +1,20 @@ Name: coan Version: 6.0.1 -Release: 24%{?dist} +Release: 25%{?dist} Summary: A command line tool for simplifying the pre-processor conditionals in source code License: BSD URL: http://coan2.sourceforge.net/ Source0: http://downloads.sourceforge.net/coan2/%{name}-%{version}.tar.gz - # https://sourceforge.net/p/coan2/bugs/92/ Patch0: expression_parser.patch BuildRequires: gcc-c++ -BuildRequires: python2 -# Python 2 is needed for running the test suite. From Fedora 29, the -# python package no longer provides /usr/bin/python, and so we need -# this extra package for the unversioned binary. -%if 0%{fedora} >= 29 -BuildRequires: python-unversioned-command -%endif -# For pod2man: +BuildRequires: make BuildRequires: perl-podlators -# On Fedora 23 pod2html is included in the perl package, whereas in 24 -# and later it's split out into perl-Pod-Html. -%if 0%{fedora} > 23 BuildRequires: perl-Pod-Html -%endif -BuildRequires: make + +# removed python2 dependencies and asked upstream to port tests to python3 +# https://sourceforge.net/p/coan2/bugs/93/ # Regression on other arches with F26 mass rebuild (big endian systems) # Temporarily exclude them @@ -84,6 +74,9 @@ export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" %{_mandir}/man1/%{name}.1.* %changelog +* Thu Jan 28 2021 Filipe Rosset - 6.0.1-25 +- Remove python2 dependencies (required only for tests) fix rhbz#1805173 + * Thu Jan 28 2021 Filipe Rosset - 6.0.1-24 - Fix FTBFS