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-Kmods-Rebuild.repo b/SOURCES/CentOS-Kmods-Rebuild.repo new file mode 100644 index 0000000..abef947 --- /dev/null +++ b/SOURCES/CentOS-Kmods-Rebuild.repo @@ -0,0 +1,7 @@ +[centos-kmods-rebuild] +name=CentOS $releasever - Kmods - Rebuild +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kmods-packages-rebuild +#baseurl=http://mirror.centos.org/$contentdir/$releasever/kmods/$basearch/packages-rebuild/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Kmods diff --git a/SOURCES/CentOS-Kmods.repo b/SOURCES/CentOS-Kmods.repo new file mode 100644 index 0000000..9ce796c --- /dev/null +++ b/SOURCES/CentOS-Kmods.repo @@ -0,0 +1,7 @@ +[centos-kmods] +name=CentOS $releasever - Kmods +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kmods-packages-main +#baseurl=http://mirror.centos.org/$contentdir/$releasever/kmods/$basearch/packages-main/ +gpgcheck=1 +enabled=1 +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+Y9Q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MWHPqTQw5CV+hSK3DgFquQPMR0I1VDpbda +Q5J6+uuq7TTKZrJQMfC75jRy/A6441PjhhiRtdNJtvDL3Ct5cvfCZXd9bOEgz+iv +Vm8JRVlN97AnYer6MHCEy8SxT6heDLJzCgGa/V0iaExZ07cAEQEAAYkCPgQYAQIA +CQUCYNGYsAIbLgEpCRBbjhp2euBtVMBdIAQZAQIABgUCYNGYsAAKCRBa7lLL5G3L +y5eXB/9wU8e8ZNwADP2CDuQWAPpKgytWQ2M95Tuo4ZonLzNW/aQDnY5gyw1AzZZE +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..c33b32c --- /dev/null +++ b/SPECS/centos-release-kmods.spec @@ -0,0 +1,56 @@ +Name: centos-release-kmods +Version: 1 +Release: 1%{?dist} +Summary: CentOS Kmods SIG repository configs + +License: GPLv2 +URL: https://wiki.centos.org/SpecialInterestGroup/Kmods + +Source0: RPM-GPG-KEY-CentOS-SIG-Kmods +Source1: CentOS-Kmods.repo +Source2: CentOS-Kmods-Rebuild.repo + +BuildArch: noarch + + +%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. + + +%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-Kmods.repo + + +%files rebuild +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Kmods-Rebuild.repo + + +%changelog +* Thu Aug 12 2021 Peter Georg - 1-1 +- Initial release