From 01ff155b00e83b5298c239897f0eb5f3141b5028 Mon Sep 17 00:00:00 2001 From: Gratien D'haese Date: Tue, 1 Sep 2015 16:42:24 +0200 Subject: [PATCH] new release of rear-1.17.2 --- .gitignore | 2 +- rear.spec | 43 ++++++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 24 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 1fca15e..6df0e58 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/rear-1.17.1.tar.gz +/rear-1.17.2.tar.gz diff --git a/rear.spec b/rear.spec index 0f11d88..edf649c 100644 --- a/rear.spec +++ b/rear.spec @@ -7,7 +7,7 @@ Summary: Relax-and-Recover is a Linux disaster recovery and system migration tool Name: rear -Version: 1.17.1 +Version: 1.17.2 Release: 1%{?rpmrelease}%{?dist} License: GPLv3 Group: Applications/File @@ -18,7 +18,23 @@ Source: https://sourceforge.net/projects/rear/files/rear/%{version}/rear-%{versi BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -BuildArch: noarch +# rear contains only bash scripts plus documentation so that on first glance it colud be "BuildArch: noarch" +# but actually it is not "noarch" because it only works on those architectures that are explicitly supported. +# Of course the rear bash scripts can be installed on any architecture just as any binaries can be installed on any architecture. +# But the meaning of architecture dependent packages should be on what architectures they will work. +# Therefore only those architectures that are actually supported are explicitly listed. +# This avoids that rear can be "just installed" on architectures that are actually not supported (e.g. ARM or IBM z Systems): +ExclusiveArch: %ix86 x86_64 ppc ppc64 +# Furthermore for some architectures it requires architecture dependent packages (like syslinux for x86 and x86_64) +# so that rear must be architecture dependent because ifarch conditions never match in case of "BuildArch: noarch" +# see the GitHub issue https://github.com/rear/rear/issues/629 +%ifarch %ix86 x86_64 +Requires: syslinux +%endif +# In the end this should tell the user that rear is known to work only on %ix86 x86_64 ppc ppc64 +# and on %ix86 x86_64 syslinux is explicitly required to make the bootable ISO image +# (in addition to the default installed bootloader grub2) while on ppc ppc64 the +# default installed bootloader yaboot is also useed to make the bootable ISO image. ### Dependencies on all distributions Requires: binutils @@ -47,13 +63,6 @@ Requires: attr ### Optional requirement #Requires: cfg2html -%ifarch %ix86 x86_64 -Requires: syslinux -%endif -%ifarch ppc ppc64 -Requires: yaboot -%endif - %if %{?suse_version:1}0 Requires: iproute2 ### recent SuSE versions have an extra nfs-client package @@ -128,7 +137,7 @@ if [ $1 -gt 1 ] ; then fi %prep -%setup -q +%setup -q echo "30 1 * * * root /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue" >rear.cron @@ -189,7 +198,7 @@ OS_VERSION="13.2" %files %defattr(-, root, root, 0755) -%doc AUTHORS COPYING README doc/*.txt +%doc AUTHORS COPYING README.adoc doc/*.txt %doc %{_mandir}/man8/rear.8* %config(noreplace) %{_sysconfdir}/cron.d/rear %config(noreplace) %{_sysconfdir}/rear/ @@ -199,14 +208,6 @@ OS_VERSION="13.2" %{_sbindir}/rear %changelog -* Fri Oct 17 2014 Gratien D'haese -- added the suse_version lines to identify the corresponding OS_VERSION +* Thu Jul 30 2015 Johannes Meixner +- For a changelog see the rear-release-notes.txt file. -* Fri Jun 20 2014 Gratien D'haese -- add %%pre section - -* Thu Apr 11 2013 Gratien D'haese -- changes Source - -* Thu Jun 03 2010 Dag Wieers -- Initial package. (using DAR) diff --git a/sources b/sources index 6fc9761..869b75a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -346dc49ac30e14cf45e1cbc5a6bba261 rear-1.17.1.tar.gz +fd1bd6eb24a8e887399917ca0dfa8031 rear-1.17.2.tar.gz