[Rpm-maint] [rpm-software-management/rpm] add brp helper scripts from mandriva's spec-helper (#122)
notifications at github.com
Wed Jan 11 21:01:27 UTC 2017
ignatenkobrain commented on this pull request.
> @@ -0,0 +1,49 @@
+# This script makes sure to remove any standard library search paths from rpath
+# or runpath tags as they're not only redundant, but will break overriding
+# search paths. Search paths of the tag that's not standard will be kept intact.
+# If using normal root, avoid changing anything.
+if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
+ exit 0
+# make sure we have chrpath in our search path, otherwise wuzz out
+type chrpath || exit 0
wondering how people are using this brp.... it's nice one, but you don't know in advance if built thing will contain rpaths or not..
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint