SHA256
1
0
forked from pool/ceph

Accepting request 419377 from filesystems:ceph:jewel

- pre_checkin.sh: modify script so it adds "Source98: README-ceph-test.txt" to ceph-test.spec 
- Update to version 10.2.2+git.1470776886.38cd6cb (latest upstream jewel):

OBS-URL: https://build.opensuse.org/request/show/419377
OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=55
This commit is contained in:
2016-08-15 10:32:01 +00:00
committed by Git OBS Bridge
parent 9005fcb082
commit 085206c12c
8 changed files with 251 additions and 6 deletions

View File

@@ -286,6 +286,13 @@ function generate_rm_exclude_files {
done
}
function insert_line_before {
local FILE=$1
local line_to_insert=$2
local match_regex=$3
sed -i "/${match_regex}/i $line_to_insert" $FILE
}
function copy_changes_file {
local dest_pkg=$1
@@ -306,4 +313,5 @@ summ=`get_package_summary $SPEC_FILE $PACKAGE`
desc=`get_package_description $SPEC_FILE $PACKAGE`
reqs=`get_package_requires $SPEC_FILE $PACKAGE`
transform_spec_file $SPEC_FILE $PACKAGE "$rm_files" "$summ" "$desc" "$reqs" > $PACKAGE.spec
insert_line_before "${PACKAGE}.spec" "Source98: README-ceph-test.txt" "^Source99:"
copy_changes_file $PACKAGE