From 66304fec74a7cecc3fa74aa06e40021f41563c68ac478e310331ba464647ebf1 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 4 Feb 2021 20:30:08 +0000 Subject: [PATCH] Accepting request 869573 from home:cgiboudeaux:branches:server:database - Fix incorrect permission for documentation files. Using %attr affects the documentation subdirectory permission. Instead, the executable bit for doc files will be removed in the %prep section. OBS-URL: https://build.opensuse.org/request/show/869573 OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=63 --- unixODBC.changes | 8 ++++++++ unixODBC.spec | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/unixODBC.changes b/unixODBC.changes index 48a451b..463a92d 100644 --- a/unixODBC.changes +++ b/unixODBC.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 4 18:45:24 UTC 2021 - Christophe Giboudeaux + +- Fix incorrect permission for documentation files. + Using %attr affects the documentation subdirectory permission. + Instead, the executable bit for doc files will be removed in + the %prep section. + ------------------------------------------------------------------- Tue Sep 22 20:27:56 UTC 2020 - Jan Engelhardt diff --git a/unixODBC.spec b/unixODBC.spec index d528d11..907e1e7 100644 --- a/unixODBC.spec +++ b/unixODBC.spec @@ -1,7 +1,7 @@ # # spec file for package unixODBC # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -70,6 +70,8 @@ Includes for ODBC development (based on unixODBC). %patch3 -p1 %patch4 -p1 +chmod -x NEWS README doc/*.html doc/*.gif + %build perl -i -pe 's{^ACLOCAL_AMFLAGS.*}{}' Makefile.am export -n LANG LINGUAS LC_ALL @@ -108,7 +110,7 @@ rm -f "%{buildroot}/%{_libdir}"/unixODBC/libodbcpsql.* %files %license COPYING -%attr(644,root,root) %doc AUTHORS ChangeLog NEWS README doc/*.html doc/*.gif +%doc AUTHORS ChangeLog NEWS README doc/*.html doc/*.gif %docdir %{_mandir} %{_mandir}/man1/dltest.1%{?ext_man} %{_mandir}/man1/isql.1%{?ext_man}