forked from pool/xfsdump
Accepting request 1254425 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1254425 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfsdump?expand=0&rev=39
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
include/builddefs.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- include/builddefs.in.orig
|
||||
+++ include/builddefs.in
|
||||
@@ -37,7 +37,7 @@ PKG_ROOT_SBIN_DIR = @root_sbindir@
|
||||
Index: xfsdump-3.1.12/include/builddefs.in
|
||||
===================================================================
|
||||
--- xfsdump-3.1.12.orig/include/builddefs.in
|
||||
+++ xfsdump-3.1.12/include/builddefs.in
|
||||
@@ -39,7 +39,7 @@ PKG_ROOT_SBIN_DIR = @root_sbindir@
|
||||
PKG_ROOT_LIB_DIR= @root_libdir@@libdirsuffix@
|
||||
PKG_INC_DIR = @includedir@
|
||||
PKG_MAN_DIR = @mandir@
|
||||
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 1 10:07:30 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Make build recipe compatible with POSIX sh.
|
||||
- Modernize by using %autosetup.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 12:17:14 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
13
xfsdump.spec
13
xfsdump.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xfsdump
|
||||
#
|
||||
# Copyright (c) 2022 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
|
||||
@@ -55,29 +55,26 @@ be layered on top of the full backup. Single files and directory
|
||||
subtrees may be restored from full or partial backups.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 0
|
||||
%patch -P 1 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
rm -f configure
|
||||
make configure
|
||||
export DEBUG=-DNDEBUG
|
||||
%configure --bindir=%{_sbindir}
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
export DIST_ROOT=%{buildroot}
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
%make_install
|
||||
%find_lang xfsdump
|
||||
mv %{buildroot}/sbin/{xfsdump,xfsrestore} %{buildroot}/%{_sbindir}
|
||||
mv %{buildroot}/sbin/xfsdump %{buildroot}/sbin/xfsrestore %{buildroot}/%{_sbindir}/
|
||||
%if 0%{?suse_version} < 1550
|
||||
ln -s %{_sbindir}/xfsdump %{buildroot}/sbin
|
||||
ln -s %{_sbindir}/xfsrestore %{buildroot}/sbin
|
||||
%endif
|
||||
|
||||
%files -f xfsdump.lang
|
||||
%defattr(-,root,root,755)
|
||||
%{_sbindir}/*
|
||||
%if 0%{?suse_version} < 1550
|
||||
/sbin/*
|
||||
|
Reference in New Issue
Block a user