Build SLE packages on the OBS

This is a double thread post (I posted over in the “official” SLE SDK forum first before it occurred to me that there might be a separate OBS forum). Sorry for that :\

Anyways, on with the question. I branched the “network:utilities” Wireshark package from OpenSUSE so that I could build Wireshark’s current devel version, 1.9.2 (see https://build.opensuse.org/package/show?package=wireshark&project=home%3Aericgearhart%3Abranches%3Anetwork%3Autilities)

After some spec file and patch hacking I was able to get wireshark-1.9.2 to build for a handful of current OpenSUSE versions (12.2, 12.3, Tumbleweed, Factory).

Given that success, on a whim I tried adding the SLE 10 and SLE 11 repositories to my package, but I was immediately presented with “nothing provides” errors for various devel packages (gtk3-devel and a handful of others - gtk3-devel is the biggest showstopper).

Is there an ‘SLE 11 SDK’ build service repository that I can add to the base ‘SLE 11’ repo on the build service that provides -devel packages? I mostly did this on a whim just to try and help out the “official” SLE distros… I don’t have a pressing need for packages for SLE, but I was just trying to be nice https://forums.suse.com/images/smilies/cool.png

On Sat 06 Apr 2013 04:16:02 PM CDT, ericgearhart wrote:

This is a double thread post (I posted over in the “official” SLE SDK
forum first before it occurred to me that there might be a separate OBS
forum). Sorry for that :\

Anyways, on with the question. I branched the “network:utilities”
Wireshark package from OpenSUSE so that I could build Wireshark’s
current devel version, 1.9.2 (see http://tinyurl.com/cbx9g7w)

After some spec file and patch hacking I was able to get
wireshark-1.9.2 to build for a handful of current OpenSUSE versions
(12.2, 12.3, Tumbleweed, Factory).

Given that success, on a whim I tried adding the SLE 10 and SLE 11
repositories to my package, but I was immediately presented with
“nothing provides” errors for various devel packages (gtk3-devel and a
handful of others - gtk3-devel is the biggest showstopper).

Is there an ‘SLE 11 SDK’ build service repository that I can add to the
base ‘SLE 11’ repo on the build service that provides -devel packages? I
mostly did this on a whim just to try and help out the “official” SLE
distros… I don’t have a pressing need for packages for SLE, but I was
just trying to be nice [image:
https://forums.suse.com/images/smilies/cool.png]

Hi
You need to build against gtk2 for SLE, so you would add an %if
statement in the BuildRequires and then in the build section another
%if to build --with-gtk2 instead of gtk3.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.1-desktop
up 5 days 6:44, 5 users, load average: 0.15, 0.13, 0.29
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile