[opensuse-buildservice] Building Ubuntu packages
Hi Yall, What would the define be if I want to test if I'm building an Ubuntu package? I've tried the following: %if %{defined ubuntu_version} BuildRequires: libstdc++-devel gcc-c++ libqt4-dev %endif and %if %{defined xubuntu_version} BuildRequires: libstdc++-devel gcc-c++ libqt4-dev %endif Neither of these worked. -joe --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2007-08-18 07:37:21 -0400, Joe Croft wrote:
What would the define be if I want to test if I'm building an Ubuntu package? I've tried the following:
%if %{defined ubuntu_version} BuildRequires: libstdc++-devel gcc-c++ libqt4-dev %endif
and
%if %{defined xubuntu_version} BuildRequires: libstdc++-devel gcc-c++ libqt4-dev %endif
Neither of these worked.
as you were told on irc already. you are not supposed to use spec files for ubuntu. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Joe Croft
-
Marcus Rueckert