From 56d2abb2a66efc9070c1fa5e88ec8adfc3b634b8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 30 Dec 2007 14:06:38 +0000 Subject: [PATCH] - use proper rpm macros instead Changed files: xz.spec -> 1.41 --- xz.spec | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/xz.spec b/xz.spec index c245685..a4a618d 100644 --- a/xz.spec +++ b/xz.spec @@ -16,6 +16,7 @@ Group: Applications/Archiving Source0: http://tukaani.org/lzma/%{name}-%{version}%{snap}.tar.gz # Source0-md5: 5cef8b41aecee8ce1c6fbc681701fe61 URL: http://tukaani.org/lzma/ +BuildRequires: rpmbuild(macros) >= 1.402 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -103,15 +104,6 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -# fix manuals -cd $RPM_BUILD_ROOT%{_mandir}/man1 -rm -f lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1 -echo ".so lzdiff.1" > lzcmp.1 -echo ".so lzgrep.1" > lzegrep.1 -echo ".so lzgrep.1" > lzfgrep.1 -echo ".so lzmore.1" > lzless.1 -cd - - %find_lang %{name} %{?with_tests:%{__make} check} -- 2.44.0