From 84c1a9abe60204ae48a0b4959587bfeda5357a0c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:20:50 +0100 Subject: [PATCH] rebuilt after usr merge and with debug package [release 1.34-2mamba;Mon Apr 17 2023] --- tar.spec | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/tar.spec b/tar.spec index b4ca958..0f6c6b7 100644 --- a/tar.spec +++ b/tar.spec @@ -1,13 +1,13 @@ Name: tar Version: 1.34 -Release: 1mamba +Release: 2mamba Summary: A GNU file archiving program Group: Applications/Archiving Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan +Packager: Silvan Calarco URL: https://www.gnu.org/software/tar/tar.html -Source: ftp://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2 +Source: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.xz Patch0: %{name}-1.13.18-manpage.patch License: GPL ## AUTOBUILDREQ-BEGIN @@ -21,6 +21,9 @@ Requires: bzip2 Requires: xz Requires: lzip Requires(post):%{__install_info} +Provides: /bin/tar +Provides: /bin/gtar +Provides: /sbin/rmt %description The GNU tar program saves many files together into one archive and can restore individual files (or all of the files) from the archive. @@ -29,6 +32,8 @@ Tar includes multivolume support, automatic archive compression/decompression, t If you want to use Tar for remote backups, you'll also need to install the rmt package. You should install the tar package, because you'll find its compression and decompression utilities essential for working with files. +%debug_package + %prep %setup -q # fixme: tar 1.14 has some new command line options, so this man page is obsolete @@ -37,8 +42,8 @@ You should install the tar package, because you'll find its compression and deco %build %configure \ - --bindir=/bin \ - --libexecdir=/sbin + --libexecdir=%{_sbindir} + # --enable-backup-scripts %make @@ -47,7 +52,7 @@ You should install the tar package, because you'll find its compression and deco [ "%buildroot" != / ] && rm -rf "%buildroot" %makeinstall -ln -sf tar %{buildroot}/bin/gtar +ln -sf tar %{buildroot}%{_bindir}/gtar install -p -D -m644 tar.1 %{buildroot}%{_mandir}/man1/tar.1 %find_lang %{name} @@ -57,17 +62,17 @@ install -p -D -m644 tar.1 %{buildroot}%{_mandir}/man1/tar.1 %post %install_info %{name}.info -exit 0 +: %preun %uninstall_info %{name}.info -exit 0 +: %files -f %{name}.lang %defattr(-,root,root) -/bin/tar -/bin/gtar -/sbin/rmt +%{_bindir}/tar +%{_bindir}/gtar +%{_sbindir}/rmt %{_infodir}/tar.* %{_mandir}/man1/tar.1* %{_mandir}/man8/rmt.8* @@ -75,6 +80,9 @@ exit 0 #ChangeLog COPYING NEWS README THANKS TODO %changelog +* Mon Apr 17 2023 Silvan Calarco 1.34-2mamba +- rebuilt after usr merge and with debug package + * Tue Feb 23 2021 Automatic Build System 1.34-1mamba - automatic version update by autodist