[CentOS] How do I actaully get the current sources from centos-git?

me at tdiehl.org me at tdiehl.org
Mon Aug 6 13:15:21 UTC 2018


Hi,

I am trying to retrieve the srpm for the latest centos-release pacakge
from centos-git by following the instructions @ https://wiki.centos.org/Sources.

If I run the following commands:
git clone  https://git.centos.org/git/rpms/centos-release.git
cd centos-release/
git checkout c7
~/centos-git-common/get_sources.sh

Everything completes without error. The problem is that the sources that get
downloaded are not for 1804.

(vgeppetto2 pts21) $ ll SOURCES/ SPECS/
SOURCES/:
total 28
-rw-rw-r--. 1 mock mock  1584 Aug  6 08:19 1000-centos-release-cr.patch
-rw-rw-r--. 1 mock mock   264 Aug  6 08:19 85-display-manager.preset
-rw-rw-r--. 1 mock mock  2439 Aug  6 08:19 90-default.preset
-rw-rw-r--. 1 mock mock 12799 Aug  6 08:20 centos-release-7-1.1503.tar.gz

SPECS/:
total 8
-rw-rw-r--. 1 mock mock 6471 Aug  6 08:19 centos-release.spec
(vgeppetto2 pts21) $grep "define upstream_rel" SPECS/centos-release.spec 
%define upstream_rel 7.3
(vgeppetto2 pts21) $

So if I am reading things correctly, it looks like the SOURCES are for 1503 
and the spec file is for 1611.

Can someone please explain to me how to actually get the current SOURCES
and SPEC for centos-release-7-5.1804.1 from centos git?

To be clear I know I can get the srpm from vault but I would like to understand
how to work centos git.

Regards,

-- 
Tom			me at tdiehl.org



More information about the CentOS mailing list