Hi, Here is a tiny patch that define a macro when packages are built inside OBS so that special packages built locally can be treated differently. Anas diff --git a/src/backend/bs_worker b/src/backend/bs_worker index 948dd0b..2bbc838 100755 --- a/src/backend/bs_worker +++ b/src/backend/bs_worker @@ -1431,6 +1431,7 @@ sub dobuild { push @args, '--oldpackages', $oldpkgdir if $oldpkgdir && -d $oldpkgdir; push @args, '--norootforbuild' unless $BSConfig::norootexceptions && grep {"$projid/$packid" =~ /^$_$/} keys %$BSConfig::norootexceptions; push @args, '--baselibs-internal'; + push @args, '--define', "running_in_obs 1"; push @args, '--lint'; push @args, '--dist', "$buildroot/.build.config"; push @args, '--rpmlist', "$buildroot/.build.rpmlist";-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org