Marcus Rückert 2011-05-30 13:49:43 +00:00 committed by Git OBS Bridge
commit a0a183e18b
3 changed files with 19 additions and 0 deletions

12
noswitch.patch Normal file
View File

@ -0,0 +1,12 @@
Index: yast2-network-2.20.10/src/lan/YaPI/NETWORK.pm
===================================================================
--- yast2-network-2.20.10.orig/src/lan/YaPI/NETWORK.pm 2010-12-20 15:31:59.000000000 +0100
+++ yast2-network-2.20.10/src/lan/YaPI/NETWORK.pm 2011-05-26 17:41:03.734911340 +0200
@@ -4,7 +4,6 @@ use strict;
use YaST::YCP qw(:LOGGING);
use YaPI;
use Data::Dumper;
-use Switch;
# ------------------- imported modules
YaST::YCP::Import ("LanItems");

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 26 15:44:14 UTC 2011 - coolo@novell.com
- Switch is not used, so don't require it (removed from perl 5.13.1)
-------------------------------------------------------------------
Thu Dec 23 00:32:23 CET 2010 - mzugec@suse.cz

View File

@ -24,6 +24,7 @@ Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-network-2.20.10.tar.bz2
Patch0: noswitch.patch
Prefix: /usr
@ -74,6 +75,7 @@ This package contains autogenerated documentation for yast2-network
%prep
%setup -n yast2-network-2.20.10
%patch0 -p1
%build
%{prefix}/bin/y2tool y2autoconf