X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=lin_tape.spec;h=4721d6d951fb97046e3d978d4aab9d7a0b554fc6;hb=dbbe855301ba7f5e1c64383a2184e8d72d49c2a7;hp=4272e88cab6b634cf9801f3fecfac4be884b08b9;hpb=4896acd5aba4663d2a03c42bd5060ccfa1e12213;p=packages%2Flin_tape.git diff --git a/lin_tape.spec b/lin_tape.spec index 4272e88..4721d6d 100644 --- a/lin_tape.spec +++ b/lin_tape.spec @@ -3,17 +3,18 @@ %bcond_without dist_kernel # allow non-distribution kernel %bcond_with verbose # verbose build (V=1) # -%define rel 3 +%define rel 1 %define pname lin_tape Summary: IBM Tape SCSI Device Driver for Linux Name: %{pname}%{_alt_kernel} -Version: 1.74.0 +Version: 2.1.0 Release: %{rel} License: GPL v2/LGPL Group: Base/Kernel Source0: %{pname}-%{version}.tgz -# Source0-md5: 675822326c2b12390b5164a4e2b14aec +# Source0-md5: a46993ee41fb438ae3b35249fe2c376f Patch0: use-module-dir.patch +Patch1: linux-3.10.patch # System Storage, Tape systems, Tape drivers and software, Tape device drivers (Linux) URL: http://www.ibm.com/support/fixcentral/ %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} @@ -36,13 +37,16 @@ Requires(postun): %releq_kernel %endif %description -n kernel%{_alt_kernel}-scsi-lin_tape -The IBM Tape Device Driver, lin_tape, product is a device driver that -provides attachment for the IBM TotalStorage and System Storage tape -devices to Linux compatible platforms. +The IBM Tape Device Driver is a device driver that provides attachment +for the IBM TotalStorage and System Storage tape devices to Linux +compatible platforms. %prep %setup -q -n %{pname}-%{version} %patch0 -p1 +%if "%{_alt_kernel}" == "%{nil}" +%patch1 -p1 +%endif %ifarch %ix86 ia64 proc="Intel" %endif