mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
Merge pull request #20813 from smithfarm/wip-make-dist-suse
Revert "make-dist: add OBS-specific release suffix on SUSE" Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
80e81a1f66
@ -105,14 +105,6 @@ for spec in ceph.spec.in alpine/APKBUILD.in; do
|
||||
sed "s/@RPM_RELEASE@/$rpm_release/g" |
|
||||
sed "s/@TARBALL_BASENAME@/ceph-$version/g" > `echo $spec | sed 's/.in$//'`
|
||||
done
|
||||
|
||||
. /etc/os-release
|
||||
case $ID in
|
||||
opensuse|suse|sles)
|
||||
sed -i -e "s/^Release:.*/&.<B_CNT>/" ceph.spec
|
||||
;;
|
||||
esac
|
||||
|
||||
ln -s . $outfile
|
||||
tar cvf $outfile.version.tar $outfile/src/.git_version $outfile/ceph.spec $outfile/alpine/APKBUILD
|
||||
# NOTE: If you change this version number make sure the package is available
|
||||
|
Loading…
Reference in New Issue
Block a user