On Thu 01 Jun 2006 22:45, Andreas Schneider wrote:
Hi,
I don't know where I should place this so I post it here on the mailing list. I want to create a multi distro rpm for kvirc and I think a macro like %qt_add would be useful for
%if %{defined suse_version} . /etc/opt/kde3/common_options %elseif %{defined fedora_version} . %{_sysconfdir}/profile.d/qt.sh %endif
I think Mandriva has such a file too.
I'm sure more things like this will raise if more people will try to create multi arch spec files.
I actually just tried the following: %if %{defined suse_version} BuildRequires: apache2-devel %elseif %{defined fedora_version} BuildRequires: httpd-devel %endif And I get "nothing provides httpd-devel" for all my SUSE build targets :-( -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc