From 258b35721b15a5f28067e0967277d7bc0d422082f5a51a403ddf556ccdad5c85 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 9 Jan 2023 18:14:48 +0000 Subject: [PATCH] Accepting request 1056173 from home:dimstar:Factory - Do not set directories inside doc/ mode 644; otherwise the directories are set 644 as well, which means no files inside are accessible. This resulted in the past in doc/ actually not being added to the devel package. OBS-URL: https://build.opensuse.org/request/show/1056173 OBS-URL: https://build.opensuse.org/package/show/network/cyrus-sasl?expand=0&rev=98 --- cyrus-sasl-bdb.changes | 8 ++++++++ cyrus-sasl-bdb.spec | 4 ++-- cyrus-sasl-saslauthd-bdb.spec | 2 +- cyrus-sasl-saslauthd.spec | 2 +- cyrus-sasl.spec | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/cyrus-sasl-bdb.changes b/cyrus-sasl-bdb.changes index 47b9157..a152231 100644 --- a/cyrus-sasl-bdb.changes +++ b/cyrus-sasl-bdb.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Dec 7 11:15:12 UTC 2022 - Dominique Leuenberger + +- Do not set directories inside doc/ mode 644; otherwise the + directories are set 644 as well, which means no files inside are + accessible. This resulted in the past in doc/ actually not being + added to the devel package. + ------------------------------------------------------------------- Wed Mar 9 08:39:23 UTC 2022 - Dirk Müller diff --git a/cyrus-sasl-bdb.spec b/cyrus-sasl-bdb.spec index d283422..a7db3d0 100644 --- a/cyrus-sasl-bdb.spec +++ b/cyrus-sasl-bdb.spec @@ -1,7 +1,7 @@ # # spec file for package cyrus-sasl-bdb # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -191,7 +191,7 @@ mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/etc/sasl2 install -m 755 sample/.libs/client $RPM_BUILD_ROOT/usr/bin/cyrus_sasl_sample_client install -m 755 sample/.libs/server $RPM_BUILD_ROOT/usr/bin/cyrus_sasl_sample_server -chmod 0644 doc/* +find doc -type f -exec chmod 0644 {} \; rm -f doc/Makefile* rm -f $RPM_BUILD_ROOT/%{_mandir}/cat?/* rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/saslauthd* diff --git a/cyrus-sasl-saslauthd-bdb.spec b/cyrus-sasl-saslauthd-bdb.spec index 6fb43e9..92f33dc 100644 --- a/cyrus-sasl-saslauthd-bdb.spec +++ b/cyrus-sasl-saslauthd-bdb.spec @@ -1,7 +1,7 @@ # # spec file for package cyrus-sasl-saslauthd-bdb # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cyrus-sasl-saslauthd.spec b/cyrus-sasl-saslauthd.spec index 5f4a650..dc97e4f 100644 --- a/cyrus-sasl-saslauthd.spec +++ b/cyrus-sasl-saslauthd.spec @@ -1,7 +1,7 @@ # # spec file for package cyrus-sasl-saslauthd # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec index d3b0777..649db04 100644 --- a/cyrus-sasl.spec +++ b/cyrus-sasl.spec @@ -1,7 +1,7 @@ # # spec file for package cyrus-sasl # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed