Mailinglist Archive: opensuse-buildservice (63 mails)

< Previous Next >
[opensuse-buildservice] if case error?
  • From: Mathias Radtke <m.radtke@xxxxxx>
  • Date: Tue, 5 Jan 2016 16:08:17 +0100
  • Message-id: <568BDC61.4090500@uib.de>
Hi
in my company we use a local and a remote OBS instance to package our
products for various distributions

As it is not advised to move files to a new directory in / (in SLES) we
are moving them in another directory.

This usually looked like this

%define tftpboot /tftpboot
%define opsitftpboot /tftpboot/linux
%if 0%{?suse_version} == 1110 || 0%{?suse_version} == 1315
%define tftpboot /var/lib/tftpboot
%define opsitftpboot /var/lib/tftpboot/opsi
%endif

This didnt work on SLES11 and 12. The variables were not set.
However

%if 0%{?suse_version} == 1110 || 0%{?suse_version} == 1315
%define tftpboot /var/lib/tftpboot
%define opsitftpboot /var/lib/tftpboot/opsi
%else
%define tftpboot /tftpboot
%define opsitftpboot /tftpboot/linux
%endif

works.
Did anything happen to the internal procedures so that the spec file
read changed?

We have about 50 packages which might be affected so this would be a lot
of spec file changes.

Thank sin advance


--
opsi - Open PC-Server-Integration
das Open Source Client-Management-System von uib gmbh

Mathias Radtke

eMail: m.radtke@xxxxxx


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages