diff --git a/cpio-2.10-DAT160.patch b/cpio-2.10-DAT160.patch new file mode 100644 index 0000000..268a3a1 --- /dev/null +++ b/cpio-2.10-DAT160.patch @@ -0,0 +1,12 @@ +Index: cpio-2.6/src/mt.c +=================================================================== +--- cpio-2.6.orig/src/mt.c ++++ cpio-2.6/src/mt.c +@@ -181,6 +181,7 @@ struct densities { + {0x16, "MFM 10000 bpi"}, + {0x17, "MFM 42500 bpi"}, + {0x24, "DDS-2"}, ++ {0x48, "DAT160"}, + {140, "EXB-8505 compressed"}, + {144, "EXB-8205 compressed"}, + {-1, NULL}}; diff --git a/cpio.changes b/cpio.changes index 7b5d6e9..b91b511 100644 --- a/cpio.changes +++ b/cpio.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Jul 17 16:00:52 CEST 2009 - rguenther@suse.de + +- Drop rmt BuildRequires again + +------------------------------------------------------------------- +Fri Jul 17 15:14:23 CEST 2009 - mseben@suse.cz + +- fix identification of the density code for DAT160 bnc#415166 + ------------------------------------------------------------------- Mon Jun 22 16:48:28 CEST 2009 - mseben@suse.cz diff --git a/cpio.spec b/cpio.spec index 28314bc..333af6b 100644 --- a/cpio.spec +++ b/cpio.spec @@ -24,7 +24,7 @@ License: GPL v3 only Group: Productivity/Archiving/Compression AutoReqProv: on Version: 2.10 -Release: 1 +Release: 2 Summary: A Backup and Archiving Utility Source: %{name}-%{version}.tar.bz2 Patch2: %{name}-%{version}-use_new_ascii_format.patch @@ -41,9 +41,10 @@ Patch17: %{name}-%{version}-dev_number.patch Patch18: %{name}-%{version}-default_tape_dev.patch #PATCH-FIX-UPSTREAM include_fatal_c.patch fix undefined ref in mt build Patch19: %{name}-%{version}-include_fatal_c.patch +#PATCH-FIX-UPSTREAM fix identification of the density code for DAT160 bnc#415166 +Patch20: %{name}-%{version}-DAT160.patch PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rmt Requires: %{name}-lang = %{version} %description @@ -78,6 +79,7 @@ Authors: %patch17 %patch18 %patch19 +%patch20 -p1 #chmod 755 . #chmod u+w * #chmod a+r *