Trying to build 2.0 for CentOS4, I "%define centos4 1" and do rpmbuild -ba
bacula.spec and it spits out:

# rpmbuild -ba bacula.spec
error:  You must specify a platform. Please examine the spec file.
error: line 129: Unknown tag: exit 1

Same if I try "%define rhel4 1".  It seems to be because neither of these
gets checked for later:

# test for a platform definition
%if ! %{rh7} && ! %{rh8} && ! %{rh9} && ! %{fc1} && ! %{fc3} && ! %{fc4}
&& ! %{fc5} && ! %{wb3} && ! %{su9} && ! %{su10} && ! %{mdk}
%{error: You must specify a platform. Please examine the spec file.}
exit 1
%endif

IIRC, I ran into this trying to build 1.38 too and had to modify that line
to include centos4.

Is this still broken, or am I?

Thanks
Michael

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to