An OBS source service: Update spec file 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.
- Devel package for openSUSE:Factory
-
39
derived packages
- Links to openSUSE:Factory / obs-service-set_version
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Tools/obs-service-set_version && cd $_
- Create Badge
Refresh
Refresh
Source Files
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.4.tar.gz | 0000023886 23.3 KB | |
obs-service-set_version.changes | 0000016236 15.9 KB | |
obs-service-set_version.spec | 0000002164 2.11 KB |
Revision 130 (latest revision is 135)
Dirk Mueller (dirkmueller)
accepted
request 1139482
from
Dirk Mueller (dirkmueller)
(revision 130)
- add support for AL2023 - Builds on CentOS_[5678] and possibly other distros failed because their 'rpm' didn't recognize the "Recommends:" tag. I've wrapped that tag in an "%if 0%{?suse_version}" to work around it. - simplifiy conditions for all rhel like distros to skip testsuite - fix for Fedora 30/Rawhide not available otherwise
Comments 1
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 say0.6.2+git12abcd
by callingset_version
service?obs-service-set_version.dsc
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
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