If you are using a Fedora, or RHEL based distro, then you can use centpkg.
[root@f38 ~]# dnf -y install centpkg [user@f38 tmp]$ centpkg clone bash Cloning into 'bash'... warning: unable to find all commit-graph files remote: warning: unable to find all commit-graph files remote: Enumerating objects: 1763, done. remote: Counting objects: 100% (1685/1685), done. remote: Compressing objects: 100% (840/840), done. remote: Total 1763 (delta 874), reused 1610 (delta 827), pack-reused 78 Receiving objects: 100% (1763/1763), 597.20 KiB | 4.46 MiB/s, done. Resolving deltas: 100% (892/892), done. [user@f38 tmp]$ cd bash/ [quake@f38 bash]$ centpkg sources Downloading bash-5.1.tar.gz ######################################################################## 100.0% [user@f38 bash]$ centpkg srpm Not downloading already downloaded bash-5.1.tar.gz setting SOURCE_DATE_EPOCH=1669075200 Wrote: /home/quake/tmp/bash/bash-5.1.8-6.el9.src.rpm
If you need to do that for SIG related work, there is also centpkg-sig
On Sun, Oct 8, 2023 at 5:18 AM Leon Fauster via CentOS-devel < centos-devel@centos.org> wrote:
Hi all,
sorry if I'm late to the party. I need to touch a package again for a local customization and with the transition to gitlab I wonder how the new process looks like. In the past I used the tools from git.centos.org/centos-git-common.git like get_sources.sh and into_srpm.sh to work locally on packages from git.centos.org/rpms/. The lookaside stuff were here git.centos.org/sources/.
So, how does one build a srpm nowadays? Where is the lookaside stuff? A look into https://docs.centos.org/en-US/stream-contrib/ didn't help.
BTW, I'm not an fedora dev. So, if the process looks like the fedora one then I have no idea. Any help would be greatly appreciated!
-- Thanks in advance, Leon _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel