New upstream version

NVR: hdparm-9.47-1

Resolves: bz#1231525

Signed-off-by: Michal Minar <miminar@redhat.com>
This commit is contained in:
Michal Minar 2015-06-16 08:27:26 +02:00
parent 9d1d76b261
commit 4bb92e648c
5 changed files with 7 additions and 34 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/hdparm-9.45.tar.gz
/hdparm-9.47.tar.gz

View File

@ -1,12 +0,0 @@
Index: hdparm-9.43/hdparm.c
===================================================================
--- hdparm-9.43.orig/hdparm.c
+++ hdparm-9.43/hdparm.c
@@ -1503,6 +1503,7 @@ static void usage_help (int clue, int rc
" --offset use with -t, to begin timings at given offset (in GiB) from start of drive\n"
" --prefer-ata12 Use 12-byte (instead of 16-byte) SAT commands when possible\n"
" --read-sector Read and dump (in hex) a sector directly from the media\n"
+ " --repair-sector Alias for the --write-sector option (VERY DANGEROUS)\n"
" --security-help Display help for ATA security commands\n"
" --trim-sector-ranges Tell SSD firmware to discard unneeded data sectors: lba:count ..\n"
" --trim-sector-ranges-stdin Same as above, but reads lba:count pairs from stdin\n"

View File

@ -1,13 +1,11 @@
Summary: A utility for displaying and/or setting hard disk parameters
Name: hdparm
Version: 9.45
Release: 2%{?dist}
Version: 9.47
Release: 1%{?dist}
License: BSD
Group: Applications/System
URL: http://sourceforge.net/projects/hdparm/
Source: http://download.sourceforge.net/hdparm/hdparm-%{version}.tar.gz
Patch0: hdparm-missing-params.patch
Patch1: man-page-update.patch
Patch2: %{name}-9.43-ditch_dead_code.patch
Patch3: %{name}-9.43-close_fd.patch
Patch4: %{name}-9.43-get_geom.patch
@ -20,8 +18,6 @@ performance and to spin down hard drives for power conservation.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
@ -45,6 +41,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/hdparm.8*
%changelog
* Tue Jun 16 2015 Michal Minar <miminar@redhat.com> 9.47-1
- New upstream version.
* Thu May 21 2015 Jaromir Capik <jcapik@redhat.com> - 9.45-2
- Removing ExcludeArch for s390 & s390x (it works)

View File

@ -1,14 +0,0 @@
Index: hdparm-9.43/hdparm.8
===================================================================
--- hdparm-9.43.orig/hdparm.8
+++ hdparm-9.43/hdparm.8
@@ -677,6 +677,9 @@ provides a safe fix for the problem for
Display some basic settings, similar to \-acdgkmur for IDE.
This is also the default behaviour when no options are specified.
.TP
+.I -V
+Display program version and exit immediately.
+.TP
.I --verbose
Display extra diagnostics from some commands.
.TP

View File

@ -1 +1 @@
1c75d0751a44928b6c4bc81fb16d7fe8 hdparm-9.45.tar.gz
560c1d8af7f696239cbbca7cd146304a hdparm-9.47.tar.gz