From 9abb477a9c355232300f784b4fd9eb1e210809bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 20 Feb 2002 15:07:03 +0000 Subject: [PATCH] - proper version Changed files: rpm.macros -> 1.64 --- rpm.macros | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpm.macros b/rpm.macros index 726aa8d..a76efca 100644 --- a/rpm.macros +++ b/rpm.macros @@ -105,7 +105,8 @@ # If non-empty "debug" macro defined, add "dbg" suffix to release number %_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}%{?debug:dbg}.%%{ARCH}.rpm -%requires_eq() %(LC_ALL="C" rpm -q --queryformat 'Requires:%%{NAME} = %%{VERSION}-%%{RELEASE}' %1| grep -v "is not") +# requires name = version-release +%requires_releq() %(LC_ALL="C" rpm -q --queryformat 'Requires:%%{NAME} = %%{VERSION}-%%{RELEASE}' %1| grep -v "is not") #----------------------------------------------------------------- # find and gzip all files in %{_mandir} and %{infodir} -- 2.44.0