From 1c422b62b2eada8dc4380b11d4b1daf012896260 Mon Sep 17 00:00:00 2001 From: Volker Froehlich Date: Wed, 14 Feb 2018 08:33:26 +0100 Subject: [PATCH] Don't own /etc/bash_completion.d (BZ#1545012) --- gdal.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gdal.spec b/gdal.spec index f0a8396..d532266 100644 --- a/gdal.spec +++ b/gdal.spec @@ -27,7 +27,7 @@ %global testversion 2.2.3 %global run_tests 0 -%global compdir %(dirname $(pkg-config --variable=compatdir bash-completion)) +%global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) %if 0%{?bootstrap} %global build_refman 0 @@ -62,7 +62,7 @@ Name: gdal Version: 2.2.3 -Release: 9%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 10%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library Group: System Environment/Libraries License: MIT @@ -776,7 +776,7 @@ popd %files -%{compdir}/ +%{bashcompletiondir}/* %{_bindir}/gdallocationinfo %{_bindir}/gdal_contour %{_bindir}/gdal_rasterize @@ -886,6 +886,9 @@ popd #Or as before, using ldconfig %changelog +* Wed Feb 14 2018 Volker Fröhlich - 2.2.3-10 +- Don't own /etc/bash_completion.d (BZ#1545012) + * Tue Feb 13 2018 Pavel Raiskup - 2.2.3-9 - silence some rpmlint warnings