Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e6e2ed9cdd | |||
| 2b45b409e9 | |||
| 39e4e09698 | |||
|
|
1ed2548585 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5970a68e37c1b509448f6d82278ca21403cc7722f6267f7da27723b0749088ea
|
||||
size 167968
|
||||
17
duperemove-0.15-buildfail.patch
Normal file
17
duperemove-0.15-buildfail.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Index: duperemove-0.15/results-tree.h
|
||||
===================================================================
|
||||
--- duperemove-0.15.orig/results-tree.h
|
||||
+++ duperemove-0.15/results-tree.h
|
||||
@@ -20,11 +20,7 @@
|
||||
#include <glib.h>
|
||||
|
||||
#include "csum.h"
|
||||
-
|
||||
-// TODO: delete this
|
||||
-struct list_head {
|
||||
- struct list_head *next, *prev;
|
||||
-};
|
||||
+#include "list.h"
|
||||
|
||||
struct results_tree {
|
||||
struct rb_root root;
|
||||
BIN
duperemove-0.15.tar.gz
LFS
Normal file
BIN
duperemove-0.15.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 08:24:33 UTC 2025 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.15:
|
||||
* Files are no longer invalidated when renamed.
|
||||
* The scan phase now reports both files and bytes in its progress,
|
||||
which is especially useful when processing large files.
|
||||
- Add duperemove-0.15-buildfail.patch:
|
||||
To fix the build. See #367.
|
||||
- Add subpackage for zsh completions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 15:16:04 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- force newer gcc version in sync (isc rq #353372)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 26 18:28:03 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package duperemove
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,21 +19,29 @@
|
||||
%define samename btrfs-extent-same
|
||||
%if 0%{?suse_version} <= 1500
|
||||
%define req_gcc_ver 12
|
||||
BuildRequires: gcc%{req_gcc_ver}
|
||||
%else
|
||||
%define req_gcc_ver %{nil}
|
||||
%endif
|
||||
Name: duperemove
|
||||
Version: 0.14.1
|
||||
Version: 0.15
|
||||
Release: 0
|
||||
Summary: Software to find duplicate extents in files and remove them
|
||||
License: GPL-2.0-only
|
||||
Group: System/Filesystems
|
||||
URL: https://github.com/markfasheh/duperemove
|
||||
Source: https://github.com/markfasheh/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libuuid-devel
|
||||
# PATCH-FIX-UPSTREAM mvetter@suse.com gh#markfasheh/duperemove#367
|
||||
Patch: duperemove-0.15-buildfail.patch
|
||||
BuildRequires: gcc%{req_gcc_ver}
|
||||
BuildRequires: gcc%{req_gcc_ver}-c++
|
||||
BuildRequires: libblkid-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libmount-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xxhash-devel
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(uuid)
|
||||
|
||||
%description
|
||||
Duperemove finds duplicate extents in files and prints them to the
|
||||
@@ -47,14 +55,24 @@ Group: System/Filesystems
|
||||
%description -n %{samename}
|
||||
Debug/Test tool to exercise a btrfs ioctl for deduplicating file regions.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Zsh Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: zsh
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
ZSH command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} <= 1500
|
||||
%if 0%{req_gcc_ver} > 0
|
||||
CC="CC=%{_bindir}/gcc-%{req_gcc_ver}"
|
||||
%endif
|
||||
%make_build $CC CFLAGS="%{optflags} -fcommon"
|
||||
%make_build VERSION=%{version} IS_RELEASE=1 $CC CFLAGS="%{optflags} -fcommon"
|
||||
|
||||
%install
|
||||
%make_install PREFIX="%{_prefix}"
|
||||
@@ -72,4 +90,9 @@ CC="CC=%{_bindir}/gcc-%{req_gcc_ver}"
|
||||
%{_mandir}/man?/hashstats.8%{?ext_man}
|
||||
%{_mandir}/man?/show-shared-extents.8%{?ext_man}
|
||||
|
||||
%files zsh-completion
|
||||
%dir %{_datadir}/zsh/
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
%{_datadir}/zsh/site-functions/_%{name}
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user