Add -f to rm in spec so that it builds

This commit is contained in:
Brian Read 2024-09-08 11:48:32 +01:00
parent 9a22011526
commit 889f0352d1
2 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
*.log *.log
*spec-20* *spec-20*
*.tar.gz *.tar.gz
*.tar.xz

View File

@ -2,7 +2,7 @@ Summary: Rsync backup for SME Server
%define name smeserver-rsync-backup2disk %define name smeserver-rsync-backup2disk
Name: %{name} Name: %{name}
%define version 0.0.2 %define version 0.0.2
%define release 6 %define release 7
Version: %{version} Version: %{version}
Release: %{release} Release: %{release}
License: GPL License: GPL
@ -18,6 +18,9 @@ BuildRequires: smeserver-devtools >= 1.13.1-03
SME Server implementation of rsync to perform nightly backup to a mounted drive. SME Server implementation of rsync to perform nightly backup to a mounted drive.
%changelog %changelog
* Sun Sep 08 2024 Brian Read <brianr@koozali.org> 0.0.2-7.sme
- add -f to rm in spec file so that it builds.
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 0.0.2-6.sme * Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 0.0.2-6.sme
- Fix e-smith references in smeserver-rsync-backup2disk [SME: 12732] - Fix e-smith references in smeserver-rsync-backup2disk [SME: 12732]
@ -77,7 +80,7 @@ SME Server implementation of rsync to perform nightly backup to a mounted drive.
%prep %prep
%setup %setup
rm root/rsync rm -f root/rsync
%build %build
/usr/bin/perl createlinks /usr/bin/perl createlinks