From 2f410bcce3925d524ed4de7d671112662ef0eb4e Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Dec 24 2021 09:57:58 +0000 Subject: Initial version --- diff --git a/.centos-release-kmods.metadata b/.centos-release-kmods.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.centos-release-kmods.metadata diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.gitignore diff --git a/SOURCES/CentOS-Stream-Kmods-Rebuild.repo b/SOURCES/CentOS-Stream-Kmods-Rebuild.repo new file mode 100644 index 0000000..1c952c8 --- /dev/null +++ b/SOURCES/CentOS-Stream-Kmods-Rebuild.repo @@ -0,0 +1,21 @@ +[centos-kmods-rebuild] +name=CentOS Stream $releasever - Kmods - Rebuild +metalink=https://mirrors.centos.org/metalink?repo=centos-kmods-sig-packages-rebuild-$stream&arch=$basearch&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/kmods/$basearch/packages-rebuild +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Kmods + +[centos-kmods-rebuild-testing] +name=CentOS Stream $releasever - Kmods - Rebuild - Testing +baseurl=https://buildlogs.centos.org/$contentdir/$stream/kmods/$basearch/packages-rebuild/ +gpgcheck=0 +enabled=0 + +[centos-kmods-rebuild-source] +name=CentOS Stream $releasever - Kmods +metalink=https://mirrors.centos.org/metalink?repo=centos-kmods-sig-packages-rebuild-source-$stream&arch=source&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/kmods/source/packages-rebuild +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Kmods diff --git a/SOURCES/CentOS-Stream-Kmods.repo b/SOURCES/CentOS-Stream-Kmods.repo new file mode 100644 index 0000000..345a8ff --- /dev/null +++ b/SOURCES/CentOS-Stream-Kmods.repo @@ -0,0 +1,21 @@ +[centos-kmods] +name=CentOS Stream $releasever - Kmods +metalink=https://mirrors.centos.org/metalink?repo=centos-kmods-sig-packages-main-$stream&arch=$basearch&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/kmods/$basearch/packages-main +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Kmods + +[centos-kmods-testing] +name=CentOS Stream $releasever - Kmods - Testing +baseurl=https://buildlogs.centos.org/$contentdir/$stream/kmods/$basearch/packages-main/ +gpgcheck=0 +enabled=0 + +[centos-kmods-source] +name=CentOS Stream $releasever - Kmods +metalink=https://mirrors.centos.org/metalink?repo=centos-kmods-sig-packages-main-source-$stream&arch=source&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/kmods/source/packages-main +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Kmods diff --git a/SOURCES/RPM-GPG-KEY-CentOS-SIG-Kmods b/SOURCES/RPM-GPG-KEY-CentOS-SIG-Kmods new file mode 100644 index 0000000..4386cc5 --- /dev/null +++ b/SOURCES/RPM-GPG-KEY-CentOS-SIG-Kmods @@ -0,0 +1,38 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) + +mQENBGDRmLABCACvFq3JdOKmNB4ULF43FZnUcfxZwI3qzLo6NG6sxxjpCLnccKqb +Fa+Y9Q9T9dFPsbrSBV3LQLss1uAvsgG4N+NC75Od7yYN7FQOR8A5iZtGELBX/6zq +cYrcIYFUSx+K77FoyuDSW7/JR8SzcT0DxE1pwnExnPGVSxVCLKrenE397ULOth3c +jiVDYtxymNaC5G4LSEwDY5RPmUAc8hnR4Ezgpy0LM4WgHtoXPwITc3KVjfYsmlg4 +snhr0qC1JP8X/obx/ZDto+ZOIZw6LHUyZAnhKHvtXeCbUY4x7BwQ7CCt4/OD2mg7 +8z1lM6s/I6RWwOj+KdvKtpeTZoTZWAk2devBABEB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ZZE +SwFsbbJslb4UEXz1LflqB2TiaROYE0EZobq7g/w8Mt1dW4drZFGQplr7Wpe03mxy +3S9C93FNz1d8AILPkNwlsD9Jl4g1ZqaU52clcgy88VR3b5s6UbKj++v8MIm5/jKF +BDS5MaVuEZaCmSk53lVT3+YVsnJEWj0W+ax24WFpOZR4cGmF+4sUuaxK8nbisAr0 +t/y8rHs+NUDPRM0L5tGotWq+q+DWscX9fM1xqqbPfU2gu55y4IYCOEzF1rLjgrir +gL3XuG3iA8DSYOSiv+Amz4gcDkLXYhYIAJdxQ3f2zu2qjMeb4pFQ6N45xItTCis2 +44C0Y7l1kbqRZ5r5NUTtzATHFdW2V4iT2xYR0yftkwlohyQYTk4V7poksbkld8z3 +sKN8xJTTKpii0VjAjdKMRcO5PS4VYKAKTg1SkiWwN2A7tKd5GkskV/XfpMfYyVa2 +MIRA25gPj/ax+5mgxuceELi5zpW6kfB4JaKgUdHR29bZIo+ZXfrFk7AAWq2p88FZ +iyVCQnIbh7zIoNAR6zUGkVRz45PLnXq9s3DEKuoGxJdzlwAhZGSafSN558JuzTRo +B6lmklHWzyZGmPPrv2/hiH49d3LvV/splg1YY1rFjt5yLqEx/zjiNRw= +=FPTO +-----END PGP PUBLIC KEY BLOCK----- + diff --git a/SPECS/centos-release-kmods.spec b/SPECS/centos-release-kmods.spec new file mode 100644 index 0000000..1cac576 --- /dev/null +++ b/SPECS/centos-release-kmods.spec @@ -0,0 +1,58 @@ +Name: centos-release-kmods +Version: 2 +Release: 1%{?dist} +Summary: CentOS Kmods SIG repository configs + +License: GPLv2 +URL: https://sigs.centos.org/kmods + +Source0: RPM-GPG-KEY-CentOS-SIG-Kmods +Source1: CentOS-Stream-Kmods.repo +Source2: CentOS-Stream-Kmods-Rebuild.repo + +BuildArch: noarch + +Requires: centos-stream-release + + +%description +Configs for the CentOS Kmods SIG main package repository. + + +%package rebuild +Summary: CentOS Kmods SIG rebuild repo configs +Requires: centos-release-kmods = %{version}-%{release} + + +%description rebuild +Configs for the CentOS Kmods SIG rebuild repository. Packages in this repository +contain rebuilds of kernel modules provided by CentOS Stream. + + +%prep + + +%build + + +%install +%{__install} -m 644 -D -t %{buildroot}%{_sysconfdir}/pki/rpm-gpg %{SOURCE0} +%{__install} -m 644 -D -t %{buildroot}%{_sysconfdir}/yum.repos.d %{SOURCE1} %{SOURCE2} + + +%clean +%{__rm} -rf %{buildroot} + + +%files +%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Kmods +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Kmods.repo + + +%files rebuild +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Kmods-Rebuild.repo + + +%changelog +* Fri Dec 24 2021 Peter Georg - 2-1 +- Initial release