srpmでパッケージを作り直したいのだが、CentOSstream のsrpmが見当たらない vaultでも.
っで調べたらgitで管理されてるそうな

https://git.centos.org/

sambaのパッケージを拾ってみる

[illya@c ~]$ git clone https://git.centos.org/rpms/samba.git
[illya@c ~]$ cd samba/
[illya@c samba]$ ls -la
total 4
drwxr-xr-x   3 illya em   18 Mar  8 06:47 .
drwx------. 54 illya em 4096 Mar  8 06:47 ..
drwxr-xr-x   7 illya em  138 Mar  8 06:47 .git
[illya@c samba]$

フォルダには何もないのだが、ここで

[illya@c samba]$ git branch --all
  remotes/origin/c4
  remotes/origin/c5
  remotes/origin/c5-plus
  remotes/origin/c6
  remotes/origin/c6-plus
  remotes/origin/c7
  remotes/origin/c7-alt
  remotes/origin/c7-beta
  remotes/origin/c7-sig-altarch-fasttrack
  remotes/origin/c7-sig-storage-samba-411
  remotes/origin/c8
  remotes/origin/c8-beta
  remotes/origin/c8-sig-storage-samba-411
  remotes/origin/c8-sig-storage-samba-412
  remotes/origin/c8-sig-storage-samba-413
  remotes/origin/c8s
 
[illya@c samba]$ git tag
  :
imports/c8s/samba-4.13.3-1.el8
imports/c8s/samba-4.13.3-2.el8
imports/c8s/samba-4.13.3-3.el8
 
[illya@c samba]$

といろいろあるみたい. っでtagの「imports/c8s/samba-4.13.3-3.el8」に移ってみる

[illya@c samba]$ git checkout -b samba-4.13.3-3.el8 imports/c8s/samba-4.13.3-3.el8
Switched to a new branch 'samba-4.13.3-3.el8'
 
[illya@c samba]$ ls -l
total 0
drwxr-xr-x 2 illya em 201 Mar  8 06:50 SOURCES
drwxr-xr-x 2 illya em  24 Mar  8 06:50 SPECS
 
[illya@c samba]$

と急になんか現れた.

っでこれを使ってrpmbuildへ.


トップ   編集 添付 複製 名前変更     ヘルプ   最終更新のRSS
Last-modified: 2021-03-08 (月) 06:52:55 (58d)