From 3d8269318e77a38483813e0f7dd3266b188c77e9 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Jun 06 2019 21:59:58 +0000 Subject: New upstream release - New upstream release - Fix build failure (#1675066) - Remove obsolete requirements for %post/%preun scriptlets --- diff --git a/.gitignore b/.gitignore index 331bb29..a753dcc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ -/gtatool-1.5.1.tar.xz -/gtatool-1.5.2.tar.xz -/gtatool-2.0.1.tar.xz -/gtatool-2.1.0.tar.xz -/gtatool-2.2.0.tar.xz -/gtatool-2.2.1.tar.xz +/gtatool-2.2.3.tar.xz diff --git a/0001-Allow-pcl-1.9-as-dependency-as-well.patch b/0001-Allow-pcl-1.9-as-dependency-as-well.patch new file mode 100644 index 0000000..f3495b3 --- /dev/null +++ b/0001-Allow-pcl-1.9-as-dependency-as-well.patch @@ -0,0 +1,32 @@ +From 6229b7e8d977a8751ec5c12168956aa45c9ade31 Mon Sep 17 00:00:00 2001 +From: Tim Landscheidt +Date: Sat, 16 Mar 2019 23:21:10 +0000 +Subject: [PATCH] Allow pcl 1.9 as dependency as well + +--- + gtatool/configure.ac | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/gtatool/configure.ac b/gtatool/configure.ac +index 2d830d0..c2bd982 100644 +--- a/gtatool/configure.ac ++++ b/gtatool/configure.ac +@@ -460,10 +460,11 @@ if test "$pcd" = "yes"; then + PKG_CHECK_MODULES([libpcl_io], [pcl_io >= 1.6], [], + [PKG_CHECK_MODULES([libpcl_io], [pcl_io-1.7 >= 1.7], [], + [PKG_CHECK_MODULES([libpcl_io], [pcl_io-1.8 >= 1.8], [], +- [pcd="no " +- AC_MSG_WARN([PCL io library not found:]) +- AC_MSG_WARN([$libpcl_io_PKG_ERRORS]) +- AC_MSG_WARN([Disabled the from-pcd and to-pcd commands.])])])]) ++ [PKG_CHECK_MODULES([libpcl_io], [pcl_io-1.9 >= 1.9], [], ++ [pcd="no " ++ AC_MSG_WARN([PCL io library not found:]) ++ AC_MSG_WARN([$libpcl_io_PKG_ERRORS]) ++ AC_MSG_WARN([Disabled the from-pcd and to-pcd commands.])])])])]) + fi + AC_DEFINE_UNQUOTED([WITH_PCD], [`if test "$pcd" = "yes"; then echo "1"; else echo "0"; fi`], [Use pcd?]) + AM_CONDITIONAL([WITH_PCD], [test "$pcd" = "yes"]) +-- +2.17.2 + diff --git a/gtatool.spec b/gtatool.spec index 41ad4a2..7c8bdb4 100644 --- a/gtatool.spec +++ b/gtatool.spec @@ -1,12 +1,13 @@ %global completion_path %(pkg-config --variable=completionsdir bash-completion) Name: gtatool -Version: 2.2.1 -Release: 4%{?dist} +Version: 2.2.3 +Release: 1%{?dist} Summary: Commandline tool to manipulate GTAs License: GPLv3+ URL: https://marlam.de/gta/ Source0: https://marlam.de/gta/releases/%{name}-%{version}.tar.xz +Patch0: 0001-Allow-pcl-1.9-as-dependency-as-well.patch BuildRequires: gettext-devel BuildRequires: bash-completion @@ -37,9 +38,6 @@ BuildRequires: uriparser # https://github.com/Eyescale/Equalizer # https://bugzilla.redhat.com/show_bug.cgi?id=758472 -Requires(post): info -Requires(preun): info - %description Gtatool is a command line tool to manipulate GTAs. @@ -134,7 +132,7 @@ sound data via libsndfile. %prep -%setup -q +%autosetup -p2 %build # Stupid way to avoid overwriting the original LDFLAGS. @@ -173,7 +171,8 @@ rm -rf %{buildroot}%{_infodir}/dir make check %files -%doc COPYING AUTHORS README +%doc AUTHORS README +%license COPYING %{_bindir}/gta %dir %{_libdir}/%{name}/ %{_libdir}/%{name}/component-compute.so @@ -222,6 +221,11 @@ make check %changelog +* Thu Jun 6 2019 Tim Landscheidt - 2.2.3-1 +- New upstream release +- Fix build failure (#1675066) +- Remove obsolete requirements for %%post/%%preun scriptlets + * Thu Apr 11 2019 Richard Shaw - 2.2.1-4 - Rebuild for OpenEXR 2.3.0. diff --git a/sources b/sources index 60c37eb..b845d24 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gtatool-2.2.1.tar.xz) = 1fdd818dd1f57f32eb6e05e52f9c7e57578d58eda30ede30b3ce2f4a08a99f4919bbd869f24d2505c0a67d0d5bd3b0d34f8cbde5cc34d93e7a1dc7807c820ad7 +SHA512 (gtatool-2.2.3.tar.xz) = 89a8e291a10ff915e033105003e9f402beb376806b5c7f3bfeac11ce12bb3af34e919762523dc7e19bf916753325d8fcd4a26240026e3abd7d3cedeb93d064a4