Summary(pl.UTF-8): Sieciowo zorientowany system tworzenia kopii zapasowych
Name: amanda
Version: 3.3.6
-Release: 4
+Release: 5
License: BSD
Group: Networking/Utilities
Source0: http://downloads.sourceforge.net/amanda/%{name}-%{version}.tar.gz
Patch11: %{name}-amstar-exclude-fix.patch
Patch12: %{name}-krb5-auth.patch
Patch13: %{name}-amstar-device.patch
+Patch14: swig.patch
URL: http://www.amanda.org/
%{?with_samba:BuildRequires: /usr/bin/smbclient}
BuildRequires: autoconf >= 2.53
%patch11 -p1
%patch12 -p1
%patch13 -p1
+%patch14 -p1
cp -a %{SOURCE10} .
find perl/ -name '*.swg' -print0 | xargs -0 touch
--- /dev/null
+--- amanda-3.3.6/perl/Amanda/Xfer.swg.orig 2015-12-27 11:44:42.539670320 +0100
++++ amanda-3.3.6/perl/Amanda/Xfer.swg 2015-12-27 11:47:02.104286963 +0100
+@@ -533,8 +533,6 @@
+ %perlcode {
+ sub new {
+ my $pkg = shift;
+- # The C function adds the proper blessing -- this function
+- # just gets $pkg out of the way.
+ C_CONSTRUCTOR(@_);
+ }
+ }
+@@ -543,7 +543,6 @@
+ %define OVERLOAD_REPR()
+ %perlcode {
+ use overload '""' => sub { $_[0]->repr(); };
+-# overload comparison, so users can ask if one obj == another
+ use overload '==' => sub { Amanda::Xfer::same_elements($_[0], $_[1]); };
+ use overload '!=' => sub { not Amanda::Xfer::same_elements($_[0], $_[1]); };
+ }