Akio Takebe wrote: >>> >>> -%prep >>> +%if %([ x"%{Distribution}" = x"fedora" -a x"%{os_release}" = x"5" ] && >>> echo 1 | >>> | echo 0) >>> +%define fedora5 1 >>> +%endif >>> >>> >> Why not use regular rpm conditionals instead of calling the shell? >> >> > The regular rpm conditionals are poor facilities. > Shell has better parsing facilities. > The original checking fedora5 and centos4 doesn't work on RHEL5. > So I changed the checking with shell. > >
Okay. >> Can you add an explicit test for RHEL 5? >> > OK, I'll add it. > Okay, thanks. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel