]> git.pld-linux.org Git - packages/linux-gpib.git/blobdiff - linux-gpib.spec
- fix kernel BRs
[packages/linux-gpib.git] / linux-gpib.spec
index 605ee45b7d8f101e14856b351b95aa7a9c68acbb..c8ceba5d2385a87afbfc1d7f61b203422d931766 100644 (file)
@@ -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
 
This page took 0.0608379999999999 seconds and 4 git commands to generate.