From 7156f615df72bb69ca80908c34da4b55649a1af2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 10:56:20 +0000 Subject: [PATCH 1/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From a7570179e3a4107b3d9f3608045c503dd6600179 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 11 Feb 2025 18:42:36 -0600 Subject: [PATCH 2/8] Build with -std=c17. The code in ndmp-src is quite old and has many failures when built as C23. Fixing these will take some effort so the quick fix of building as C17 will work for now. An alternate quick fix would be to pass --without-ndmp to configure. --- amanda.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amanda.spec b/amanda.spec index 1fa5b50..5fd9ff0 100644 --- a/amanda.spec +++ b/amanda.spec @@ -131,7 +131,7 @@ server also needs to have the amanda-client package installed. %build ./autogen -export MAILER=/usr/bin/mail CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="$RPM_LD_FLAGS -pie" +export MAILER=/usr/bin/mail CFLAGS="$RPM_OPT_FLAGS -fPIE -std=c17" LDFLAGS="$RPM_LD_FLAGS -pie" %configure --enable-shared \ --enable-manpage-build \ --disable-rpath \ From 3c88249265c6474f388a1481957e19317a63e991 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 11 Feb 2025 19:55:32 -0600 Subject: [PATCH 3/8] Fix absolute symlink This should silence the rpm complaint at the end of the build. --- amanda.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/amanda.spec b/amanda.spec index 5fd9ff0..045acfd 100644 --- a/amanda.spec +++ b/amanda.spec @@ -202,6 +202,11 @@ popd rm -rf $RPM_BUILD_ROOT/usr/share/amanda find $RPM_BUILD_ROOT -name \*.la | xargs rm +pushd $RPM_BUILD_ROOT/usr/bin +rm amandad +ln -s ../%_lib/amandad +popd + %check make check From f89594ead811ae6a658438d84abb83f1f7de61fc Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 13 Feb 2025 12:56:08 -0600 Subject: [PATCH 4/8] Fix unfortunate typo. --- amanda.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amanda.spec b/amanda.spec index 045acfd..e2c5b7e 100644 --- a/amanda.spec +++ b/amanda.spec @@ -204,7 +204,7 @@ find $RPM_BUILD_ROOT -name \*.la | xargs rm pushd $RPM_BUILD_ROOT/usr/bin rm amandad -ln -s ../%_lib/amandad +ln -s ../%_lib/amanda/amandad popd %check From 0803777d47b7171779dc8e5af1c7a6cfd5779664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 11 Feb 2025 14:36:18 +0100 Subject: [PATCH 5/8] Add sysusers.d config file to allow rpm to create users/groups automatically See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers. --- amanda.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/amanda.spec b/amanda.spec index e2c5b7e..73f8e9c 100644 --- a/amanda.spec +++ b/amanda.spec @@ -128,6 +128,12 @@ server also needs to have the amanda-client package installed. %prep %autosetup -p1 -n %{name}-tag-community-%{version} +# Create a sysusers.d config file +cat >amanda.sysusers.conf </dev/null 2>&1 || : -/usr/bin/gpasswd -a %amanda_user tape >/dev/null 2>&1 || : %post %{?ldconfig} @@ -299,6 +303,7 @@ make check %attr(600,%amanda_user,%amanda_group) %config(noreplace) %{_localstatedir}/lib/amanda/.amandahosts %attr(02770,%amanda_user,%amanda_group) %dir /var/log/amanda %attr(02770,%amanda_user,%amanda_group) %dir /var/log/amanda/amandad +%{_sysusersdir}/amanda.conf %files libs %{_libdir}/libamdevice*.so From e3de39913ac43747d1590124235b9e4574990bcd Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 7 Jul 2025 16:24:46 +0200 Subject: [PATCH 6/8] Perl 5.42 rebuild From 656b46e5ce4cb00b6d60ebb8486c9e3f6244972f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 16:56:06 +0000 Subject: [PATCH 7/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From b6b3c04ef57382423cca429cdc2f522df194c4d0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:37:36 +0000 Subject: [PATCH 8/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild