Hi, Quoting Seyed Mohamad Amin Modaresi (2025-08-15 09:54:10) > > time. I've had a glance at it just now and my first question is: how do you > > create the orig.tar.gz for the package? There is no Files-Excluded field in > I download the tag.gz.tar I extract that and remove unused things, macos, > windows & ... dirs then gbp create orig.tar.gz automatically please automate the process, either by using File-Excluded in debian/copyright (preferred) or by writing a repack script. Either way, it should be possible to retrieve a new upstream version using uscan. As a bonus, since uscan now moved to version 5 you might want to switch over debian/watch to the new format as well. It will make some things a bit easier and the resulting file is more readable. > > source version is missing the +dfsg suffix. > This package is not a binary package (this is not `Architecture: any`), so it > doesn't have a +dfsg.deb I'm talking about the source version. Each binary has a version but that's not the one I'm talking about. Binary packages are built from source packages and those have a version as well. The version of the source package is the one you write in debian/changelog. The version of the binary package is often the same but not always. Since you modify the upstream release tarball, you should add a suffix to the source package version. Using the +dfsg suffix would be appropriate here. Using uscan and debian/watch automates the process of automatically repacking the upstream source and adding the suffix. See the uscan man page for examples or write me if you have trouble. Thanks! cheers, josch
Attachment:
signature.asc
Description: signature