Accepting request 423514 from filesystems:ceph:kraken
- pre_checkin.sh: forward-port insert_line_before() function from filesystems:ceph:jewel/ceph version - README-ceph-test.txt: new file - ceph-test.spec: add ceph_ver_hack.sh as a source file OBS-URL: https://build.opensuse.org/request/show/423514 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=62
This commit is contained in:
parent
f81f5bd830
commit
b005befaeb
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 28 10:55:04 UTC 2016 - ncutler@suse.com
|
||||
|
||||
- pre_checkin.sh: forward-port insert_line_before() function from
|
||||
filesystems:ceph:jewel/ceph version
|
||||
- README-ceph-test.txt: new file
|
||||
- ceph-test.spec: add ceph_ver_hack.sh as a source file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 26 09:06:41 UTC 2016 - ncutler@suse.com
|
||||
|
||||
|
@ -75,6 +75,8 @@ Group: System/Filesystems
|
||||
%endif
|
||||
URL: http://ceph.com/
|
||||
Source0: ceph-%{version}.tar.bz2
|
||||
Source97: ceph_ver_hack.sh
|
||||
Source98: README-ceph-test.txt
|
||||
Source99: ceph-rpmlintrc
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?is_opensuse}
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 28 10:55:04 UTC 2016 - ncutler@suse.com
|
||||
|
||||
- pre_checkin.sh: forward-port insert_line_before() function from
|
||||
filesystems:ceph:jewel/ceph version
|
||||
- README-ceph-test.txt: new file
|
||||
- ceph-test.spec: add ceph_ver_hack.sh as a source file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 26 09:06:41 UTC 2016 - ncutler@suse.com
|
||||
|
||||
|
@ -255,6 +255,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
|
||||
|
||||
@ -275,4 +282,6 @@ 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:"
|
||||
insert_line_before "${PACKAGE}.spec" "Source97: ceph_ver_hack.sh" "^Source98:"
|
||||
copy_changes_file $PACKAGE
|
||||
|
Loading…
x
Reference in New Issue
Block a user