diff --git a/ceph-test.changes b/ceph-test.changes index e911917..d772779 100644 --- a/ceph-test.changes +++ b/ceph-test.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 25 18:21:58 UTC 2021 - Nathan Cutler + +- pre_checkin.sh: add README-packaging.txt as a source file to ceph-test.spec + (to pacify obs-service-source_validator) + ------------------------------------------------------------------- Thu Mar 25 16:38:00 UTC 2021 - Nathan Cutler diff --git a/ceph-test.spec b/ceph-test.spec index 88403c0..7719bcf 100644 --- a/ceph-test.spec +++ b/ceph-test.spec @@ -141,10 +141,12 @@ Group: System/Filesystems URL: http://ceph.com/ Source0: %{?_remote_tarball_prefix}ceph-16.1.0-1216-gbaca20b112.tar.bz2 %if 0%{?suse_version} -Source96: checkin.sh -Source97: README-checkin.txt -Source98: README-ceph-test.txt -Source99: ceph-rpmlintrc +Source94: ceph-rpmlintrc +Source95: checkin.sh +Source96: pre_checkin.sh +Source97: README-ceph-test.txt +Source98: README-checkin.txt +Source99: README-packaging.txt # _insert_obs_source_lines_here ExclusiveArch: x86_64 %endif diff --git a/ceph.changes b/ceph.changes index e911917..d772779 100644 --- a/ceph.changes +++ b/ceph.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 25 18:21:58 UTC 2021 - Nathan Cutler + +- pre_checkin.sh: add README-packaging.txt as a source file to ceph-test.spec + (to pacify obs-service-source_validator) + ------------------------------------------------------------------- Thu Mar 25 16:38:00 UTC 2021 - Nathan Cutler diff --git a/pre_checkin.sh b/pre_checkin.sh index 35ea510..7e10a7d 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -286,8 +286,10 @@ desc=`get_package_description $SPEC_FILE $PACKAGE` reqs=`get_package_requires $SPEC_FILE $PACKAGE` sed -i -e 's/%bcond_without ceph_test_package/%bcond_with ceph_test_package/' $SPEC_FILE transform_spec_file $SPEC_FILE $PACKAGE "$rm_files" "$summ" "$desc" "$reqs" > $PACKAGE.spec -insert_line_before "${PACKAGE}.spec" "Source99: ceph-rpmlintrc" "_insert_obs_source_lines_here" -insert_line_before "${PACKAGE}.spec" "Source98: README-ceph-test.txt" "^Source99:" -insert_line_before "${PACKAGE}.spec" "Source97: README-checkin.txt" "^Source98:" -insert_line_before "${PACKAGE}.spec" "Source96: checkin.sh" "^Source97:" +insert_line_before "$PACKAGE.spec" "Source99: README-packaging.txt" "_insert_obs_source_lines_here" +insert_line_before "$PACKAGE.spec" "Source98: README-checkin.txt" "^Source99:" +insert_line_before "$PACKAGE.spec" "Source97: README-ceph-test.txt" "^Source98:" +insert_line_before "$PACKAGE.spec" "Source96: pre_checkin.sh" "^Source97:" +insert_line_before "$PACKAGE.spec" "Source95: checkin.sh" "^Source96:" +insert_line_before "$PACKAGE.spec" "Source94: ceph-rpmlintrc" "^Source95:" copy_changes_file $PACKAGE