New upstream version 9.54
Signed-off-by: Michal Minář <miminar@redhat.com>
This commit is contained in:
parent
826f24102e
commit
61c0e0c6e5
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/hdparm-9.52.tar.gz
|
||||
/hdparm-9.54.tar.gz
|
||||
|
24
hdparm-9.54-sysmacros.patch
Normal file
24
hdparm-9.54-sysmacros.patch
Normal file
@ -0,0 +1,24 @@
|
||||
Index: hdparm-9.54/geom.c
|
||||
===================================================================
|
||||
--- hdparm-9.54.orig/geom.c
|
||||
+++ hdparm-9.54/geom.c
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/fs.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
|
||||
#include "hdparm.h"
|
||||
|
||||
Index: hdparm-9.54/sysfs.c
|
||||
===================================================================
|
||||
--- hdparm-9.54.orig/sysfs.c
|
||||
+++ hdparm-9.54/sysfs.c
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <limits.h>
|
||||
#include <sys/stat.h>
|
||||
#include <linux/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
|
||||
#include "hdparm.h"
|
||||
|
@ -1,13 +1,14 @@
|
||||
Summary: A utility for displaying and/or setting hard disk parameters
|
||||
Name: hdparm
|
||||
Version: 9.52
|
||||
Release: 3%{?dist}
|
||||
Version: 9.54
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
URL: http://sourceforge.net/projects/%{name}/
|
||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Patch0: %{name}-9.43-ditch_dead_code.patch
|
||||
Patch1: %{name}-9.43-close_fd.patch
|
||||
Patch2: %{name}-9.43-get_geom.patch
|
||||
Patch3: %{name}-9.54-sysmacros.patch
|
||||
|
||||
%description
|
||||
Hdparm is a useful system utility for setting (E)IDE hard drive
|
||||
@ -35,6 +36,9 @@ install -c -m 644 hdparm.8 $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||
%{_mandir}/man8/hdparm.8*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 15 2018 Michal Minář miminar@redhat.com - 9.54-1
|
||||
- New upstream version 9.54
|
||||
|
||||
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 9.52-3
|
||||
- Use LDFLAGS from redhat-rpm-config
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (hdparm-9.52.tar.gz) = 7c37d1381c1dd2d46762a8cdcaba2015b0b051ee7bd135dbcf6346def51b085cc2f9ecd7e1ebdc67e12ab4b765df548d4757b3700ed6e7514c2b13ed40661c59
|
||||
SHA512 (hdparm-9.54.tar.gz) = d0c21fb01959f4afc846279d73bc19c80492b1ceda3effec33e87f74e06a02222e724ad06e5627bcd9847165684b4815272d760486b03f5ac75843edd0e1ae01
|
||||
|
Loading…
Reference in New Issue
Block a user