From 6fc0b75f2e93f6acd0234bbece4e5451850bb4c8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 11 2019 12:21:08 +0000 Subject: Enable python dependency generator References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault Signed-off-by: Igor Gnatenko --- diff --git a/python-bloom.spec b/python-bloom.spec index 03948e6..2ab4a0c 100644 --- a/python-bloom.spec +++ b/python-bloom.spec @@ -1,11 +1,11 @@ +%{?python_enable_dependency_generator} %global srcname bloom Name: python-%{srcname} Version: 0.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bloom is a release automation tool -Group: Development/Tools License: BSD URL: http://www.ros.org/wiki/bloom Source0: https://github.com/ros-infrastructure/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz @@ -53,6 +53,7 @@ generation of platform specific source packages, like debian's src-debs. %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-bloom} +%if %{undefined __pythondist_requires} Requires: python%{python3_pkgversion}-PyYAML Requires: python%{python3_pkgversion}-catkin_pkg >= 0.4.3 Requires: python%{python3_pkgversion}-dateutil @@ -61,6 +62,7 @@ Requires: python%{python3_pkgversion}-rosdep >= 0.10.25 Requires: python%{python3_pkgversion}-rosdistro >= 0.7.0 Requires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-vcstools >= 0.1.22 +%endif BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-nose BuildRequires: python%{python3_pkgversion}-pep8 @@ -136,6 +138,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m nose test/test_code_fo %{_mandir}/man1/%{srcname}.1.gz %changelog +* Fri Jan 11 2019 Igor Gnatenko - 0.7.0-2 +- Enable python dependency generator + * Thu Jan 10 2019 Scott K Logan - 0.7.0-1 - Update to 0.7.0