An OBS source service: Update spec file version

Edit Package obs-service-set_version
https://github.com/openSUSE/obs-service-set_version

Very simply script to update the version in .spec or .dsc files according to a given version or to the existing files.

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
PKGBUILD 0000000601 601 Bytes
_service 0000000675 675 Bytes
_servicedata 0000000453 453 Bytes
debian.dsc 0000000312 312 Bytes
obs-service-set_version-0.6.6.tar.gz 0000024122 23.6 KB
obs-service-set_version.changes 0000017090 16.7 KB
obs-service-set_version.spec 0000002326 2.27 KB
Latest Revision
buildservice-autocommit accepted request 1189245 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 142)
baserev update by copy to link target
Comments 1

Ki Mi's avatar
Question regarding the new @VERSION@ functionality being added to OBS Build Service from v.0.6.0

@dirkmueller Would the .dsc below at runtime for Debian, Raspbian and Ubuntu be correctly adapted regarding @VERSION@ variable exchanged to let's say 0.6.2+git12abcd by calling set_version service?


obs-service-set_version.dsc

Format: 1.0
Source: obs-service-set_version
Binary: obs-service-set_version
Architecture: all
Version: 0.0.1-0
Provides: obs-service-set_version
Maintainer: M N <mn@domain.org>
Standards-Version: 4.6.0
Build-Depends: debhelper (>= 7), python3, flake8 | python3-flake8,python3-ddt, python3-packaging
DEBTRANSFORM-RELEASE: 1

DEBTRANSFORM-FILES: obs-service-set_version-@VERSION@.tar.gz debian.tar.xz
DEBTRANSFORM-TAR: obs-service-set_version-@VERSION@.tar.gz
DEBTRANSFORM-FILES-TAR: debian.tar.xz


_service:set_version:obs-service-set_version.dsc

Format: 1.0
Source: obs-service-set_version
Binary: obs-service-set_version
Architecture: all
Version: 0.6.2+git12abcd-0
Provides: obs-service-set_version
Maintainer: M N <mn@domain.org>
Standards-Version: 4.6.0
Build-Depends: debhelper (>= 7), python3, flake8 | python3-flake8,python3-ddt, python3-packaging
DEBTRANSFORM-RELEASE: 1

DEBTRANSFORM-FILES: obs-service-set_version-0.6.2+git12abcd.tar.gz debian.tar.xz
DEBTRANSFORM-TAR: obs-service-set_version-0.6.2+git12abcd.tar.gz
DEBTRANSFORM-FILES-TAR: debian.tar.xz

openSUSE Build Service is sponsored by