X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=linux-gpib.spec;h=c8ceba5d2385a87afbfc1d7f61b203422d931766;hb=0a86a1d57d35376d9fb5be5ec709886c8a005f21;hp=605ee45b7d8f101e14856b351b95aa7a9c68acbb;hpb=403be2a0e78af8c07027761f2c8ae84fc1253f5c;p=packages%2Flinux-gpib.git diff --git a/linux-gpib.spec b/linux-gpib.spec index 605ee45..c8ceba5 100644 --- a/linux-gpib.spec +++ b/linux-gpib.spec @@ -34,7 +34,7 @@ exit 1 %define php_name php%{?php_suffix} -%define rel 2 +%define rel 3 %define pname linux-gpib Summary: GPIB (IEEE 488) Linux support Summary(pl.UTF-8): Obsługa GPIB (IEEE 488) dla Linuksa @@ -52,14 +52,13 @@ Patch5: %{pname}-guile2.patch Patch6: %{pname}-php7.patch Patch8: kernel-5.2.patch Patch9: kernel-5.10.patch +Patch10: pkgconfig-version.patch URL: http://linux-gpib.sourceforge.net/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: libtool BuildRequires: rpmbuild(macros) >= 1.745 -%if %{with kernel} -BuildRequires: kernel-module-build >= 3:2.6.8 -%endif +%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.32}} %if %{with userspace} BuildRequires: bison %{?with_doc:BuildRequires: docbook-utils} @@ -282,6 +281,7 @@ cd linux-gpib-user-%{version} %patch4 -p1 %patch5 -p1 #%patch6 -p1 +%patch10 -p1 cd .. %endif