new release of rear-1.17.2
This commit is contained in:
parent
009de4f95b
commit
01ff155b00
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/rear-1.17.1.tar.gz
|
/rear-1.17.2.tar.gz
|
||||||
|
43
rear.spec
43
rear.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Summary: Relax-and-Recover is a Linux disaster recovery and system migration tool
|
Summary: Relax-and-Recover is a Linux disaster recovery and system migration tool
|
||||||
Name: rear
|
Name: rear
|
||||||
Version: 1.17.1
|
Version: 1.17.2
|
||||||
Release: 1%{?rpmrelease}%{?dist}
|
Release: 1%{?rpmrelease}%{?dist}
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: Applications/File
|
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)
|
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
|
### Dependencies on all distributions
|
||||||
Requires: binutils
|
Requires: binutils
|
||||||
@ -47,13 +63,6 @@ Requires: attr
|
|||||||
### Optional requirement
|
### Optional requirement
|
||||||
#Requires: cfg2html
|
#Requires: cfg2html
|
||||||
|
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
Requires: syslinux
|
|
||||||
%endif
|
|
||||||
%ifarch ppc ppc64
|
|
||||||
Requires: yaboot
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{?suse_version:1}0
|
%if %{?suse_version:1}0
|
||||||
Requires: iproute2
|
Requires: iproute2
|
||||||
### recent SuSE versions have an extra nfs-client package
|
### recent SuSE versions have an extra nfs-client package
|
||||||
@ -128,7 +137,7 @@ if [ $1 -gt 1 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
echo "30 1 * * * root /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue" >rear.cron
|
echo "30 1 * * * root /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue" >rear.cron
|
||||||
|
|
||||||
@ -189,7 +198,7 @@ OS_VERSION="13.2"
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-, root, root, 0755)
|
||||||
%doc AUTHORS COPYING README doc/*.txt
|
%doc AUTHORS COPYING README.adoc doc/*.txt
|
||||||
%doc %{_mandir}/man8/rear.8*
|
%doc %{_mandir}/man8/rear.8*
|
||||||
%config(noreplace) %{_sysconfdir}/cron.d/rear
|
%config(noreplace) %{_sysconfdir}/cron.d/rear
|
||||||
%config(noreplace) %{_sysconfdir}/rear/
|
%config(noreplace) %{_sysconfdir}/rear/
|
||||||
@ -199,14 +208,6 @@ OS_VERSION="13.2"
|
|||||||
%{_sbindir}/rear
|
%{_sbindir}/rear
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Oct 17 2014 Gratien D'haese <gratien.dhaese@gmail.com>
|
* Thu Jul 30 2015 Johannes Meixner <jsmeix@suse.de>
|
||||||
- added the suse_version lines to identify the corresponding OS_VERSION
|
- For a changelog see the rear-release-notes.txt file.
|
||||||
|
|
||||||
* Fri Jun 20 2014 Gratien D'haese <gratien.dhaese@gmail.com>
|
|
||||||
- add %%pre section
|
|
||||||
|
|
||||||
* Thu Apr 11 2013 Gratien D'haese <gratien.dhaese@gmail.com>
|
|
||||||
- changes Source
|
|
||||||
|
|
||||||
* Thu Jun 03 2010 Dag Wieers <dag@wieers.com>
|
|
||||||
- Initial package. (using DAR)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user