diff --git a/0001-Remove-undefined-import-method-BPC_DT_ALL-536.patch b/0001-Remove-undefined-import-method-BPC_DT_ALL-536.patch new file mode 100644 index 0000000..e4457e3 --- /dev/null +++ b/0001-Remove-undefined-import-method-BPC_DT_ALL-536.patch @@ -0,0 +1,39 @@ +From e9370da546e97a4cd21836f4d978d80ef5379cb6 Mon Sep 17 00:00:00 2001 +From: Damian Wrobe +Date: Sat, 21 Mar 2026 10:41:04 +0100 +Subject: [PATCH] Remove undefined import method BPC_DT_ALL #536 + +--- + bin/BackupPC_nightly | 2 +- + bin/BackupPC_rrdUpdate | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/bin/BackupPC_nightly b/bin/BackupPC_nightly +index dc00eab..5857a7c 100755 +--- a/bin/BackupPC_nightly ++++ b/bin/BackupPC_nightly +@@ -86,7 +86,7 @@ use strict; + no utf8; + + use lib "__INSTALLDIR__/lib"; +-use BackupPC::Lib qw( :BPC_DT_ALL ); ++use BackupPC::Lib; + use BackupPC::XS; + use BackupPC::DirOps; + use Getopt::Std; +diff --git a/bin/BackupPC_rrdUpdate b/bin/BackupPC_rrdUpdate +index ed99416..3c48f21 100755 +--- a/bin/BackupPC_rrdUpdate ++++ b/bin/BackupPC_rrdUpdate +@@ -39,7 +39,7 @@ use strict; + no utf8; + + use lib "__INSTALLDIR__/lib"; +-use BackupPC::Lib qw( :BPC_DT_ALL ); ++use BackupPC::Lib; + use File::Path; + use Data::Dumper; + our(%Info); +-- +2.49.0 + diff --git a/BackupPC.spec b/BackupPC.spec index e5cd229..776b47c 100644 --- a/BackupPC.spec +++ b/BackupPC.spec @@ -10,7 +10,7 @@ Name: BackupPC Version: 4.4.0 -Release: 22%{?dist} +Release: 23%{?dist} Summary: High-performance backup system # Automatically converted from old format: GPLv2+ - review is highly recommended. @@ -30,6 +30,10 @@ Source8: apache.users Patch0: BackupPC-4.1.3-docfix.patch # Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2091514 Patch1: https://github.com/backuppc/backuppc/commit/2c9270b9b849b2c86ae6301dd722c97757bc9256.patch +# Fixes https://github.com/backuppc/backuppc/issues/536 +# See also: https://sourceforge.net/p/backuppc/mailman/backuppc-users/thread/78CC8638-454D-4487-9C9E-5B88DEC665E3%40icloud.com/#msg58851936 +# Remove for >=4.4.1 +Patch2: 0001-Remove-undefined-import-method-BPC_DT_ALL-536.patch BuildRequires: gcc BuildRequires: perl-generators @@ -337,6 +341,9 @@ fi %changelog +* Sat Mar 21 2026 Damian Wrobel - 4.4.0-23 +- Add upstream patch to fix calling undefined import method + * Fri Jan 16 2026 Fedora Release Engineering - 4.4.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild