Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
brp-check-suse.19625
brp-75-ar-allow-override.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File brp-75-ar-allow-override.patch of Package brp-check-suse.19625
From 13ed30b788930d5e274740990e83b48d3df454eb Mon Sep 17 00:00:00 2001 From: Martin Liska <mliska@suse.cz> Date: Mon, 17 Jun 2019 09:35:24 +0200 Subject: [PATCH] Add NO_BRP_AR as a way how to skip ar. It would be useful for Go packages: https://github.com/golang/go/issues/17890 Problem is that ar append '/' to a __.PKGDEF and Go can't deal with that. diff --git a/brp-75-ar b/brp-75-ar index 3b852ac..f1a8edd 100755 --- a/brp-75-ar +++ b/brp-75-ar @@ -8,6 +8,10 @@ if [ -z "$SOURCE_DATE_EPOCH" ] ; then echo "SOURCE_DATE_EPOCH is not set: skipping ar normalization" exit 0 fi +if [ "$NO_BRP_AR" = "true" ] ; then + echo "NO_BRP_AR is set: skipping ar" + exit 0 +fi while read f; do ! file "$f" | grep -q "ar archive" || objcopy -D "$f" || true
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor