-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,11 @@ | |
Summary: NetApp's SDK for interacting with filers | ||
Name: NetApp-SDK | ||
Version: 5.4P2 | ||
Release: 1%{dist} | ||
Release: 2%{dist} | ||
License: NetApp SDK License Agreement v11-04-14 | ||
Group: Development/Libraries | ||
Source: netapp-manageability-sdk-%{version}.zip | ||
Patch0: perlfix.patch | ||
Patch0: %{name}-%{version}-perlfix.patch | ||
URL: http://support.netapp.com | ||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | ||
Vendor: Mozilla IT | ||
|
@@ -45,6 +45,9 @@ The NetApp Manageability SDK provides resources to develop applications that mon | |
%{perl_vendorlib}/%{name}/* | ||
|
||
%changelog | ||
* Wed Oct 24 2016 Greg Cox <[email protected]> 5.4P2 | ||
- Changed patch name so I can have multiple patches sitting around. | ||
|
||
* Wed May 4 2016 Greg Cox <[email protected]> 5.4P2 | ||
- SDK 5.4P2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# I opened a case with NTAP support on this | ||
# $response is double-declared and will error at you under use strict | ||
# | ||
--- lib/perl/NetApp/NaServer-old.pm 2016-09-27 16:24:40.000000000 +0000 | ||
+++ lib/perl/NetApp/NaServer.pm 2016-10-24 05:56:54.975154221 +0000 | ||
@@ -880,7 +880,6 @@ | ||
my $line; | ||
my $sock_err = undef; | ||
my $content_length = 0; | ||
- my $response; | ||
my $hex_length; | ||
|
||
## Perl socket timeout has no effect during socket read. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# $Id$ | ||
%define debug_package %{nil} | ||
%define perl_vendorlib /usr/lib64/perl5/vendor_perl | ||
|
||
Summary: NetApp's SDK for interacting with filers | ||
Name: NetApp-SDK | ||
Version: 5.6 | ||
Release: 1%{dist} | ||
License: NetApp SDK License Agreement v11-04-14 | ||
Group: Development/Libraries | ||
Source: http://mysupport.netapp.com/NOW/download/software/nmsdk/%{version}/netapp-manageability-sdk-%{version}.zip | ||
Patch0: %{name}-%{version}-perlfix.patch | ||
URL: http://support.netapp.com | ||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | ||
Vendor: Mozilla IT | ||
|
||
%description | ||
Empty placeholder | ||
|
||
|
||
%package Perl | ||
Summary: A Perl SDK for interacting with NetApp filers | ||
BuildArch: noarch | ||
Prefix: %{perl_vendorlib} | ||
|
||
%description Perl | ||
The NetApp Manageability SDK provides resources to develop applications that monitor and manage NetApp storage systems. | ||
|
||
%prep | ||
%setup -q -n netapp-manageability-sdk-%{version} | ||
%patch0 -p0 | ||
|
||
%build | ||
|
||
%install | ||
%{__mkdir} -p $RPM_BUILD_ROOT%{perl_vendorlib}/%{name} | ||
%{__cp} lib/perl/NetApp/NaServer.pm $RPM_BUILD_ROOT%{perl_vendorlib}/%{name} | ||
%{__cp} lib/perl/NetApp/NaElement.pm $RPM_BUILD_ROOT%{perl_vendorlib}/%{name} | ||
|
||
%clean | ||
%{__rm} -rf $RPM_BUILD_ROOT | ||
|
||
%files Perl | ||
%defattr(-,root,root,-) | ||
%{perl_vendorlib}/%{name}/* | ||
|
||
%changelog | ||
* Wed Oct 24 2016 Greg Cox <[email protected]> 5.6 | ||
- SDK 5.6 | ||
|
||
* Wed May 4 2016 Greg Cox <[email protected]> 5.4P2 | ||
- SDK 5.4P2 | ||
|