forked from pool/amanda
Accepting request 755217 from home:kstreitova:branches:Archiving
- change %{_libexecdir}/amanda/application/ owner to root otherwise chkstat refuses to set correct permissions there - add missing BuildRequires OBS-URL: https://build.opensuse.org/request/show/755217 OBS-URL: https://build.opensuse.org/package/show/Archiving/amanda?expand=0&rev=78
This commit is contained in:
parent
1961194672
commit
ebe4d094e7
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 28 15:25:56 UTC 2019 - Kristyna Streitova <kstreitova@suse.com>
|
||||
|
||||
- change %{_libexecdir}/amanda/application/ owner to root otherwise
|
||||
chkstat refuses to set correct permissions there
|
||||
- add missing BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 17 13:05:45 UTC 2019 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
|
20
amanda.spec
20
amanda.spec
@ -22,7 +22,7 @@ Version: 3.5.1
|
||||
Release: 0
|
||||
Summary: Network Disk Archiver
|
||||
License: GPL-3.0-or-later
|
||||
Url: http://www.amanda.org/
|
||||
URL: http://www.amanda.org/
|
||||
Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz
|
||||
#amanda-SUSE.tar.bz2 contains init scripts, config examples
|
||||
Source1: amanda-SUSE.tar.bz2
|
||||
@ -34,10 +34,14 @@ Patch4: amanda-3.3.2-returnvalues.patch
|
||||
Patch5: amanda-timestamp.patch
|
||||
Patch6: amanda-3.5-no_return_in_nonvoid_fnc.patch
|
||||
Patch7: amanda-libnsl.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
BuildRequires: cups-client
|
||||
BuildRequires: dump
|
||||
BuildRequires: flex
|
||||
BuildRequires: gawk
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gnuplot
|
||||
BuildRequires: krb5-devel
|
||||
@ -46,6 +50,7 @@ BuildRequires: libxslt
|
||||
BuildRequires: mailx
|
||||
BuildRequires: mtx
|
||||
BuildRequires: openssh
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: perl-base
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: popt-devel
|
||||
@ -53,15 +58,19 @@ BuildRequires: procps
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: samba-client
|
||||
BuildRequires: sendmail
|
||||
BuildRequires: perl(ExtUtils::Embed)
|
||||
BuildRequires: perl(Test::Simple)
|
||||
BuildRequires: pkgconfig(libcrypto)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(libtirpc)
|
||||
BuildRequires: pkgconfig(smbclient)
|
||||
Requires: %{_bindir}/smbclient
|
||||
Requires: dump
|
||||
Requires: grep
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: tar
|
||||
Requires(post): permissions
|
||||
Requires(pre): pwdutils
|
||||
Requires(pre): shadow
|
||||
|
||||
%description
|
||||
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup
|
||||
@ -81,6 +90,7 @@ rm -r patches
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
./autogen
|
||||
|
||||
@ -205,8 +215,8 @@ ln -s amrecover.8.gz %{buildroot}%{_mandir}/man8/amoldrecover.8
|
||||
# bnc#412636 file permissions of .amandahosts should be 600
|
||||
%config %attr(600,amanda,%{amanda_group}) %{_localstatedir}/lib/amanda/.amandahosts
|
||||
%config %attr(644,amanda,%{amanda_group}) %{_sysconfdir}/amanda/example/amanda.conf
|
||||
# amanda-security.conf must be installed at %{_sysconfdir} and only root must be able to write it
|
||||
# an example file should be installed at %{_sysconfdir}/amanda/
|
||||
# amanda-security.conf must be installed at %%{_sysconfdir} and only root must be able to write it
|
||||
# an example file should be installed at %%{_sysconfdir}/amanda/
|
||||
%config(noreplace) %attr(644, root, root) %{_sysconfdir}/amanda-security.conf
|
||||
%{_sysconfdir}/amanda/amanda-security.conf
|
||||
%config %attr(644,amanda,%{amanda_group}) %{_sysconfdir}/amanda/example/disklist
|
||||
@ -331,7 +341,7 @@ ln -s amrecover.8.gz %{buildroot}%{_mandir}/man8/amoldrecover.8
|
||||
%{_libexecdir}/amanda/senddiscover
|
||||
%{_libexecdir}/amanda/dumper
|
||||
%{_libexecdir}/amanda/planner
|
||||
%dir %{_libexecdir}/amanda/application/
|
||||
%attr(0755 root root) %dir %{_libexecdir}/amanda/application/
|
||||
%{_libexecdir}/amanda/application/amlog-script
|
||||
%{_libexecdir}/amanda/application/ampgsql
|
||||
%{_libexecdir}/amanda/application/amrandom
|
||||
|
Loading…
Reference in New Issue
Block a user