diff --git python-genlisp/python-genlisp.spec python-genlisp/python-genlisp.spec.tmp index 6574e532f8..8be848e79f 100644 --- python-genlisp/python-genlisp.spec +++ python-genlisp/python-genlisp.spec.tmp @@ -4,7 +4,7 @@ %global stackname genlisp Name: python-%{stackname} Version: 0.3.3 -Release: 10.20130623git%{shortcommit}%{?dist} +Release: 11.20130623git%{shortcommit}%{?dist} Summary: Lisp ROS message and service generators License: BSD @@ -20,19 +20,26 @@ BuildRequires: python-setuptools BuildRequires: catkin-devel BuildRequires: python-genmsg-devel -Requires: python-genmsg - %package devel Summary: Development files for %{name} -Requires: %{name} = %{version}-%{release} -Requires: python-genmsg-devel %description devel %{summary}. -%description +%global _description\ genlisp generates ROS Lisp messages from message definition files +%description %_description + +%package -n python2-%{stackname} +Summary: %summary +Requires: python-genmsg +Requires: %{name} = %{version}-%{release} +Requires: python-genmsg-devel +%{?python_provide:%python_provide python2-%{stackname}} + +%description -n python2-%{stackname} %_description + %prep %setup -qn %{stackname}-%{commit} %patch0 -p1 -b .langs @@ -50,7 +57,7 @@ rm -rf %{buildroot}%{_datadir}/%{stackname}/bin mkdir -p %{buildroot}%{_datadir}/pkgconfig mv %{buildroot}%{_libdir}/pkgconfig/%{stackname}.pc %{buildroot}/%{_datadir}/pkgconfig -%files +%files -n python2-%{stackname} %doc %{_bindir}/* %config(noreplace) %{_sysconfdir}/ros-langs/%{stackname} @@ -64,6 +71,10 @@ mv %{buildroot}%{_libdir}/pkgconfig/%{stackname}.pc %{buildroot}/%{_datadir}/pkg %{_datadir}/%{stackname}/cmake %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.3.3-11.20130623git8790a17 +- Python 2 binary package renamed to python2-genlisp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.3-10.20130623git8790a17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild