From c29d5ee2db4d33bebcccf9bd01bea196ad33ea038d5869f8c745a38f082b17d1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 7 Dec 2022 11:41:33 +0000 Subject: [PATCH] Accepting request 1041015 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/1041015 OBS-URL: https://build.opensuse.org/package/show/network/cyrus-sasl?expand=0&rev=96 --- cyrus-sasl.changes | 8 ++++++++ cyrus-sasl.spec | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/cyrus-sasl.changes b/cyrus-sasl.changes index 47b9157..a152231 100644 --- a/cyrus-sasl.changes +++ b/cyrus-sasl.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.spec b/cyrus-sasl.spec index d1b0dd0..d3b0777 100644 --- a/cyrus-sasl.spec +++ b/cyrus-sasl.spec @@ -200,7 +200,7 @@ mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sysconfdir}/sasl2 install -m 755 sample/.libs/client %{buildroot}%{_bindir}/cyrus_sasl_sample_client install -m 755 sample/.libs/server %{buildroot}%{_bindir}/cyrus_sasl_sample_server -chmod 0644 doc/* +find doc -type f -exec chmod 0644 {} \; rm -f doc/Makefile* rm -f %{buildroot}/%{_mandir}/cat?/* rm -f %{buildroot}/%{_mandir}/man8/saslauthd*