From 817fbaec64f1ebe3820badc326c42528022ccd9bf95e3d19d313527afb314797 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 7 Nov 2023 20:15:48 +0000 Subject: [PATCH] Accepting request 1123630 from home:dimstar:Factory Fix build with RPM 4.19: unnumbered patches are no longer supported. OBS-URL: https://build.opensuse.org/request/show/1123630 OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/freedup?expand=0&rev=9 --- freedup.changes | 6 ++++++ freedup.spec | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/freedup.changes b/freedup.changes index 6e0bb9f..59f76c4 100644 --- a/freedup.changes +++ b/freedup.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 6 16:04:49 UTC 2023 - Dominique Leuenberger + +- Fix build with RPM 4.19: unnumbered patches are no longer + supported. + ------------------------------------------------------------------- Mon Oct 19 08:15:48 UTC 2015 - schwab@suse.de diff --git a/freedup.spec b/freedup.spec index 4edbf38..79e95d5 100644 --- a/freedup.spec +++ b/freedup.spec @@ -1,7 +1,7 @@ # # spec file for package freedup # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,11 +22,11 @@ Name: freedup Version: %{mainversion}~%{subversion} Release: 0 Summary: Links substantially identical, duplicate files to save file system space -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Archiving/Backup -Url: http://freedup.org/ +URL: http://freedup.org/ Source: http://freedup.org/freedup-%{version}-src.tar.bz2 -Patch: nostrip.patch +Patch0: nostrip.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -41,7 +41,7 @@ a good target for deduplication. %prep %setup -q -n %{name}-%{mainversion}-%{subversion} -%patch -p1 +%patch0 -p1 %build make CFLAGS='%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DFLAVOUR="\"d\"" -DHASHSUM=0 -std=gnu99' clean freedup symharden ChangeLog