diff --git python-gencpp/python-gencpp.spec python-gencpp/python-gencpp.spec.tmp index 458ebbaed6..2138a034e9 100644 --- python-gencpp/python-gencpp.spec +++ python-gencpp/python-gencpp.spec.tmp @@ -3,7 +3,7 @@ %global stackname gencpp Name: python-%{stackname} Version: 0.3.4 -Release: 10.20130623git%{shortcommit}%{?dist} +Release: 11.20130623git%{shortcommit}%{?dist} Summary: C++ ROS message and service generators License: BSD @@ -19,10 +19,17 @@ BuildRequires: python-setuptools BuildRequires: catkin-devel BuildRequires: python-genmsg-devel +%global _description\ +gencpp generates ROS C++ messages from message definition files + +%description %_description + +%package -n python2-%{stackname} +Summary: %summary Requires: python-genmsg +%{?python_provide:%python_provide python2-%{stackname}} -%description -gencpp generates ROS C++ messages from message definition files +%description -n python2-%{stackname} %_description %package devel Summary: Development files for %{name} @@ -50,7 +57,7 @@ mv %{buildroot}%{_libdir}/pkgconfig/%{stackname}.pc %{buildroot}/%{_datadir}/pkg rm -rf %{buildroot}%{_datadir}/%{stackname}/bin -%files +%files -n python2-%{stackname} %{_bindir}/* %config(noreplace) %{_sysconfdir}/ros-langs/%{stackname} %dir %{_datadir}/%{stackname} @@ -65,6 +72,10 @@ rm -rf %{buildroot}%{_datadir}/%{stackname}/bin %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3.4-11.20130623git403d067 +- Python 2 binary package renamed to python2-gencpp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.4-10.20130623git403d067 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild