diff --git a/.gitignore b/.gitignore index 92bd68b..58cc95c 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /catkin_lint-1.4.19.tar.gz /catkin_lint-1.4.20.tar.gz /catkin_lint-1.4.21.tar.gz +/catkin_lint-1.5.3.tar.gz diff --git a/python-catkin_lint.spec b/python-catkin_lint.spec index ccd2a54..782923a 100644 --- a/python-catkin_lint.spec +++ b/python-catkin_lint.spec @@ -1,8 +1,8 @@ %global source_name catkin_lint Name: python-%{source_name} -Version: 1.4.21 -Release: 3%{?dist} +Version: 1.5.3 +Release: 1%{?dist} Summary: Check catkin packages for common errors License: BSD @@ -15,27 +15,28 @@ BuildArch: noarch %description catkin_lint checks package configurations for the catkin build system of ROS. -It is part of an ongoing effort to aid developers with their ROS packaging (see -also: issue #153). +It runs a static analysis of the package.xml and CMakeLists.txt files in your +package, and it will detect and report a number of common problems. %package -n python2-%{source_name} Summary: Check catkin packages for common errors -BuildRequires: python2-devel BuildRequires: python2-catkin_pkg +BuildRequires: python2-devel BuildRequires: python2-mock BuildRequires: python2-nose BuildRequires: python2-pyparsing -BuildRequires: python2-setuptools +BuildRequires: python2-rosdep BuildRequires: python2-rosdistro +BuildRequires: python2-setuptools Requires: python2-catkin_pkg %{?python_provide:%python_provide python2-%{source_name}} %description -n python2-%{source_name} catkin_lint checks package configurations for the catkin build system of ROS. -It is part of an ongoing effort to aid developers with their ROS packaging (see -also: issue #153). +It runs a static analysis of the package.xml and CMakeLists.txt files in your +package, and it will detect and report a number of common problems. %package -n python3-%{source_name} @@ -43,27 +44,24 @@ Summary: Check catkin packages for common errors BuildRequires: python3-catkin_pkg BuildRequires: python3-devel BuildRequires: python3-mock -BuildRequires: python3-pyparsing BuildRequires: python3-nose -BuildRequires: python3-setuptools +BuildRequires: python3-pyparsing +BuildRequires: python3-rosdep BuildRequires: python3-rosdistro +BuildRequires: python3-setuptools Requires: python3-catkin_pkg %{?python_provide:%python_provide python3-%{source_name}} %description -n python3-%{source_name} catkin_lint checks package configurations for the catkin build system of ROS. -It is part of an ongoing effort to aid developers with their ROS packaging (see -also: issue #153). +It runs a static analysis of the package.xml and CMakeLists.txt files in your +package, and it will detect and report a number of common problems. %prep %autosetup -n %{source_name}-%{version} -for lib in src/catkin_lint/*.py src/catkin_lint/checks/*.py; do - sed -i '1{\@^#!.*python@d}' $lib -done - %build %py2_build @@ -84,15 +82,13 @@ install -p -D -m0644 bash/%{source_name} %{buildroot}%{_sysconfdir}/bash_complet %check -# tests currently failing -# reported upstream here: https://github.com/fkie/catkin_lint/issues/51 -# will not push an update to stable branches until we've figured this out -%{__python3} setup.py test || exit 0 -%{__python2} setup.py test || exit 0 +%{__python2} setup.py test +%{__python3} setup.py test %files -n python2-%{source_name} %doc changelog.txt README.rst +%license LICENSE %{python2_sitelib}/%{source_name}-%{version}-py?.?.egg-info/ %{python2_sitelib}/%{source_name}/ %{_bindir}/%{source_name} @@ -102,6 +98,7 @@ install -p -D -m0644 bash/%{source_name} %{buildroot}%{_sysconfdir}/bash_complet %files -n python3-%{source_name} %doc changelog.txt README.rst +%license LICENSE %{python3_sitelib}/%{source_name}-%{version}-py?.?.egg-info/ %{python3_sitelib}/%{source_name}/ %{_bindir}/%{source_name}-%{python3_version} @@ -111,6 +108,9 @@ install -p -D -m0644 bash/%{source_name} %{buildroot}%{_sysconfdir}/bash_complet %changelog +* Mon Sep 17 2018 Scott K Logan - 1.5.3-1 +- Update to 1.5.3 (rhbz#1591523) + * Fri Jul 13 2018 Fedora Release Engineering - 1.4.21-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 68c7e7c..c79e8f9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (catkin_lint-1.4.21.tar.gz) = 48a88ca03b43fdd4076cebd8c0b633f9400c00b372ffb22099c5df611aee18170f52612c17669d424271f7320af4ee43a985a7317340f6e7656f12ad364a4383 +SHA512 (catkin_lint-1.5.3.tar.gz) = 76b5a8707f9d92e390f6382cc2061198b1bf377253a3edee1f3839594f403f506bd9b3c80e049074697a02ab77002ba80e3003fb6f924706626a031cb4ee3145