From e330765960523294c850560acc110be16a2d8b4b Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Wed, 22 Aug 2018 22:05:08 -0500 Subject: [PATCH] repo_checker: CreatePackageDescr: exclude build-env requirement. Drop in #1644, but as suspected it is needed. The reason the side-effect was not notice right away is the package description cache for a package making use of the requirement must be rebuilt. This means the package must be updated since the last time cache was built. After completely a force rebuild of entire cache the behavior is correct by only adding this back. Unlike the case below these binaries are not published to the end-user so this is more a quirk of the data present in OBS for staging projects. --- CreatePackageDescr.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/CreatePackageDescr.pm b/CreatePackageDescr.pm index c6c8f7eb..47ba522a 100644 --- a/CreatePackageDescr.pm +++ b/CreatePackageDescr.pm @@ -121,6 +121,7 @@ sub package_snippet($) { $out .= "-Con:\n"; $out .= "+Req:\n"; foreach my $prv ( @{ $qq{1049} || [] } ) { + next if ( $prv eq "this-is-only-for-build-envs" ); # Completely disgusting, but maintainers have no interest in fixing, # see #1153 for more details. next