Changed files:
cciss_vol_status.spec -> 1.10
strnlen.patch -> 1.4
Summary: Shows status of logical drives attached to HP SmartArray controllers
Summary(pl.UTF-8): Wyświetla status logicznych dysków stworzonych w kontrolerach HP SmartArray
Name: cciss_vol_status
-Version: 1.06
-Release: 3
+Version: 1.09
+Release: 1
License: GPL v2+
Group: Applications
Source0: http://dl.sourceforge.net/cciss/%{name}-%{version}.tar.gz
-# Source0-md5: 210b97af7adeb601a49ee0e743c4d2b7
+# Source0-md5: 2d94cb0c6abc217de95ade6c66d14132
URL: http://cciss.sourceforge.net/
-Patch0: strnlen.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: linux-libc-headers
%prep
%setup -q
-%patch0 -p1
%build
%{__aclocal}
+++ /dev/null
---- cciss_vol_status-1.06/cciss_vol_status.c~ 2009-11-18 19:13:06.000000000 +0200
-+++ cciss_vol_status-1.06/cciss_vol_status.c 2009-11-20 19:24:20.856775735 +0200
-@@ -1004,7 +1004,7 @@
- if (status < 0)
- return 0;
- for (i = 0; prod[i] != NULL; i++) {
-- if (strncmp(std_inq+8, prod[i], strnlen(prod[i])) == 0)
-+ if (strncmp(std_inq+8, prod[i], strlen(prod[i])) == 0)
- return 1;
- }
- return 0;