diff --git a/.gitignore b/.gitignore index 77533d3..ee7c715 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/hdparm-9.45.tar.gz +/hdparm-9.47.tar.gz diff --git a/hdparm-missing-params.patch b/hdparm-missing-params.patch deleted file mode 100644 index b67b839..0000000 --- a/hdparm-missing-params.patch +++ /dev/null @@ -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" diff --git a/hdparm.spec b/hdparm.spec index 7697b05..38a9b37 100644 --- a/hdparm.spec +++ b/hdparm.spec @@ -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 9.47-1 +- New upstream version. + * Thu May 21 2015 Jaromir Capik - 9.45-2 - Removing ExcludeArch for s390 & s390x (it works) diff --git a/man-page-update.patch b/man-page-update.patch deleted file mode 100644 index 5a31422..0000000 --- a/man-page-update.patch +++ /dev/null @@ -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 diff --git a/sources b/sources index 33e45f0..5f02963 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1c75d0751a44928b6c4bc81fb16d7fe8 hdparm-9.45.tar.gz +560c1d8af7f696239cbbca7cd146304a hdparm-9.47.tar.gz