https://bugzilla.redhat.com/show_bug.cgi?id=1293100 --- Comment #12 from Roman Tsisyk <roman@xxxxxxxxxx> --- > $ rpmdev-bumpspec -V test.spec It works for me: -------- VERSION=$(sed -n 's/^\([0-9\.]*\)-\([0-9]*\).*/\1\.\2/p' VERSION) rpmdev-bumpspec fedora.spec -n ${VERSION} -c "automated build" -Version: 1.6.8.0 +Version: 1.6.8.285 Release: 1%{?dist} %changelog +* Sun Jan 03 2016 Roman Tsisyk <roman@xxxxxxxxxxxxx> - 1.6.8.285-1 +- automated build + -------- Thank you for the advice! > Releases start at 1, however. The 0 is for pre-releases and remains untouched even during updates, since it's a prefix, and the number right of it would be increased as long as a pre-release is packaged: Fixed. > However, the dash in ${major}.${major}.${minor}-${patch} is arbitrary and could also be replaced with a dot. ${major}.${major}.${minor}.${patch} is good scheme. dash is not mandatory at all. Luckily, we already use such naming scheme for our Fedora/CentOS repositories on tarantool.org: http://tarantool.org/dist/1.6/fedora/rawhide/x86_64/Packages/ http://tarantool.org/dist/1.6/centos/7/os/x86_64/Packages/ I think we can go with the solution. > If I were you, I would ask about that on packaging@ list. Perhaps there's a way to disable stripping while keeping the -debuginfo package generation. Without -debuginfo packages you lose features like ABRT based backtrace generation and problem reports: https://fedoraproject.org I've sent an email about stripping to packing@ Spec URL: https://gist.githubusercontent.com/rtsisyk/8a8d2dcae143d0699e76/raw/5e0c995bd837c625de08c0b59a3aa2b8a195ca7f/tarantool_1.6.8.285.spec SRPM URL: https://gist.github.com/rtsisyk/8a8d2dcae143d0699e76/raw/5e0c995bd837c625de08c0b59a3aa2b8a195ca7f/tarantool-1.6.8.285-1.fc24.src.rpm Buildbot: http://koji.fedoraproject.org/koji/taskinfo?taskID=12389392 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review