Open KottV opened 10 months ago
I have a similar issue. Using obs_scm
with set_version
and debtransform
only works if you have debian.tar.gz
and the source tarball provided by _service.
Currently I'm packaging a library for both Qt5 and Qt6, but both packages should share a common header package. So I used the same approach as kernel-source
, e.g. I have one Package with two spec files. The second package has just a link to the first one with cicount="copy"
.
For debian, I have two .dsc
files (one named after each package) and two archives with the remaining debian files. Choosing these archives is easy, DEBTRANSFORM-FILES-TAR
. But debtransform fails to find the source archive:
Too many files looking like a usable source tarball (would not know which to pick): QtPdCom1.debian.tar.gz QtPdCom1-1.3.0.14.g03aa11b.tar.bz2
Maybe extend debtransform that DEBTRANSFORM-TAR
could also be a regex or wildcard?
related: openSUSE/obs-service-set_version#29
With openSUSE/obs-service-set_version#88 it works for me well. My .dsc file contains
DEBTRANSFORM-TAR: QtPdCom1-@VERSION@.tar.bz2
Hi,
Is there a way to pass package version to DEBTRANSFORM-TAR tag? My package have a bunch of source provided by _service with
setversion
. So without DEBTRANSFORM it can't pick up a proper source. But with everyservice run
increasing the version I have to set that manually in .dsc.