diff --git pyke/pyke.spec pyke/pyke.spec.tmp index f0620ea80c..c822aa402f 100644 --- pyke/pyke.spec +++ pyke/pyke.spec.tmp @@ -5,7 +5,7 @@ Name: pyke Summary: Knowledge-based inference engine Version: 1.1.1 -Release: 21%{?dist} +Release: 22%{?dist} License: MIT Group: System Environment/Libraries URL: http://pyke.sourceforge.net/ @@ -15,20 +15,31 @@ Source1: http://download.sourceforge.net/%{name}/%{name}3-%{version}.zip %endif # if with_python3 BuildArch: noarch BuildRequires: python-devel, python-setuptools -Requires: python-ply %if 0%{?with_python3} BuildRequires: python3-devel %endif # if with_python3 -%description -Pyke is a knowledge-based inference engine (expert system) written in 100% -python that can: -* Do both forward-chaining (data driven) and backward-chaining (goal - directed) inferencing. -* Automatically generate python programs by assembling individual python +%global _description\ +Pyke is a knowledge-based inference engine (expert system) written in 100%\ +python that can:\ +* Do both forward-chaining (data driven) and backward-chaining (goal\ + directed) inferencing.\ +* Automatically generate python programs by assembling individual python\ functions into complete call graphs. +%description %_description + +%package -n python2-pyke +Summary: %summary +Requires: python-ply +%{?python_provide:%python_provide python2-pyke} +# Remove before F30 +Provides: pyke%{?_isa} = %{version}-%{release} +Obsoletes: pyke < %{version}-%{release} + +%description -n python2-pyke %_description + %if 0%{?with_python3} %package -n python3-pyke Summary: Knowledge-based inference engine @@ -86,7 +97,7 @@ rm -rf doc/testdocs* rm -rf $RPM_BUILD_ROOT/usr/pyke rm -rf doc/source/ -%files +%files -n python2-pyke %license LICENSE %doc README.txt RELEASE_NOTES-* doc/html/ %{python_sitelib}/%{name}/ @@ -104,6 +115,10 @@ rm -rf doc/source/ %doc examples/ %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.1.1-22 +- Python 2 binary package renamed to python2-pyke + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.1.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild