]> git.pld-linux.org Git - packages/rpm.git/commitdiff
%%requires_kernel_releq macro
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 20 Feb 2002 19:04:44 +0000 (19:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.65

rpm.macros

index a76efcaeddd8d012950ccb0b68b67f9b318804d4..ea151813fa62ac122f4071536590663e1a5609d4 100644 (file)
 
 # requires name = version-release
 %requires_releq()  %(LC_ALL="C" rpm -q --queryformat 'Requires:%%{NAME} = %%{VERSION}-%%{RELEASE}' %1| grep -v "is not")
+%requires_kernel_releq() %(LC_ALL="C" rpm -q --queryformat 'Requires:kernel = %%{VERSION}-%%{RELEASE}' kernel-headers | grep -v "is not")
 
 #-----------------------------------------------------------------
 # find and gzip all files in %{_mandir} and %{infodir}
This page took 0.041459 seconds and 4 git commands to generate.