Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
Fedora:27
build-compare
build-compare-ignore-build-id.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build-compare-ignore-build-id.patch of Package build-compare
From 892530f8866544913904e167d02d38819bc51540 Mon Sep 17 00:00:00 2001 From: Oleg Girko <ol@infoserver.lv> Date: Fri, 8 Dec 2017 16:45:53 +0000 Subject: [PATCH] Ignore /usr/lib/.build-id differences in package filelist. Fedora 27 started packaging /usr/lib/.build-id directory automatically with packages containing shared libraries or executables. This directory contains symlinks to these shared libraries and executables with names corresponing to build-id of these files. As build-id changes with every build, contents of /usr/lib/.build-id directory changes as well. Hence, it should be ignored when comparing package filelist. Signed-off-by: Oleg Girko <ol@infoserver.lv> --- build-compare.changes | 5 +++++ functions.sh | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/build-compare.changes b/build-compare.changes index d3c7434..4ec9484 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 8 16:57:00 UTC 2017 - ol@infoserver.lv + +- Ignore /usr/lib/.build-id differences in package filelist + ------------------------------------------------------------------- Mon Dec 4 10:21:44 UTC 2017 - olaf@aepfle.de diff --git a/functions.sh b/functions.sh index 601b4e9..d17a174 100755 --- a/functions.sh +++ b/functions.sh @@ -83,6 +83,8 @@ function trim_release_old() /\(\/boot\|\/lib\/modules\|\/lib\/firmware\|\/usr\/src\|$version_release_old_regex_l\$\|$version_release_old_regex_l)\)/{s,$version_release_old_regex_l,@VERSION@-@RELEASE_LONG@,g;s,$version_release_old_regex_s,@VERSION@-@RELEASE_SHORT@,g} s/\(\/var\/adm\/update-scripts\/\)${name_ver_rel_old_regex_l}\([^[:blank:]]\+\)/\1@NAME_VER_REL@\2/g s/\(\/var\/adm\/update-messages\/\)${name_ver_rel_old_regex_l}\([^[:blank:]]\+\)/\1@NAME_VER_REL@\2/g + " -e " + /\/usr\/lib\/\.build-id/d " } function trim_release_new() @@ -91,6 +93,8 @@ function trim_release_new() /\(\/boot\|\/lib\/modules\|\/lib\/firmware\|\/usr\/src\|$version_release_new_regex_l\$\|$version_release_new_regex_l)\)/{s,$version_release_new_regex_l,@VERSION@-@RELEASE_LONG@,g;s,$version_release_new_regex_s,@VERSION@-@RELEASE_SHORT@,g} s/\(\/var\/adm\/update-scripts\/\)${name_ver_rel_new_regex_l}\([^[:blank:]]\+\)/\1@NAME_VER_REL@\2/g s/\(\/var\/adm\/update-messages\/\)${name_ver_rel_new_regex_l}\([^[:blank:]]\+\)/\1@NAME_VER_REL@\2/g + " -e " + /\/usr\/lib\/\.build-id/d " } # Get single directory or filename with long or short release string -- 2.14.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor