diff --git lunatic-python/lunatic-python.spec lunatic-python/lunatic-python.spec.tmp index c3638a8926..dd4254319a 100644 --- lunatic-python/lunatic-python.spec +++ lunatic-python/lunatic-python.spec.tmp @@ -6,7 +6,7 @@ Name: lunatic-python Version: 1.0.1 -Release: 0.19.%{bzrdate}bzr%{?dist} +Release: 0.20.%{bzrdate}bzr%{?dist} Summary: Two-way bridge between Python and Lua Group: Development/Languages @@ -22,13 +22,24 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel compat-lua-devel pkgconfig -%description -Lunatic Python is a two-way bridge between Python and Lua, allowing -these languages to intercommunicate. Being two-way means that it -allows Lua inside Python, Python inside Lua, Lua inside Python inside -Lua, Python inside Lua inside Python, and so on. +%global _description\ +Lunatic Python is a two-way bridge between Python and Lua, allowing\ +these languages to intercommunicate. Being two-way means that it\ +allows Lua inside Python, Python inside Lua, Lua inside Python inside\ +Lua, Python inside Lua inside Python, and so on.\ +%description %_description + +%package -n python2-lunatic +Summary: %summary +%{?python_provide:%python_provide python2-lunatic} +# Remove before F30 +Provides: lunatic-python%{?_isa} = %{version}-%{release} +Obsoletes: lunatic-python < %{version}-%{release} + +%description -n python2-lunatic %_description + %prep %setup -q -n %{name} @@ -50,7 +61,7 @@ mv $RPM_BUILD_ROOT{%{python_sitearch}/python.so,%{lualibdir}} rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-lunatic %defattr(-,root,root,-) %doc LICENSE %{lualibdir}/python.so @@ -58,6 +69,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.1-0.20.20090917bzr +- Python 2 binary package renamed to python2-lunatic + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.1-0.19.20090917bzr - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild