From d4f32b650bf4f2802d215b0529660ac89695ea68 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Apr 03 2020 10:20:02 +0000 Subject: First release for RabbitMQ 3.8 Includes repo config and initial spec. --- diff --git a/SOURCES/CentOS-Messaging-rabbitmq.repo b/SOURCES/CentOS-Messaging-rabbitmq.repo new file mode 100644 index 0000000..46b87d6 --- /dev/null +++ b/SOURCES/CentOS-Messaging-rabbitmq.repo @@ -0,0 +1,28 @@ +[centos-rabbitmq-RABBITMQ_VERSION] +name=CentOS-8 - RabbitMQ RABBITMQ_VERSION +#baseurl=http://mirror.centos.org/centos/$releasever/messaging/$basearch/rabbitmq-RABBITMQ_VERSION +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=messaging-rabbitmq-RABBITMQ_VERSION +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging + +[centos-rabbitmq-RABBITMQ_VERSION-test] +name=CentOS-8 - RabbitMQ RABBITMQ_VERSION Testing +baseurl=https://buildlogs.centos.org/centos/$releasever/messaging/$basearch/rabbitmq-RABBITMQ_VERSION/ +gpgcheck=0 +enabled=0 + +[centos-rabbitmq-RABBITMQ_VERSION-debuginfo] +name=CentOS-8 - RabbitMQ RABBITMQ_VERSION - Debug +baseurl=http://debuginfo.centos.org/centos/$releasever/messaging/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging + +[centos-rabbitmq-RABBITMQ_VERSION-source] +name=CentOS-8 - RabbitMQ RABBITMQ_VERSION - Source +baseurl=http://vault.centos.org/centos/$releasever/messaging/Source/rabbitmq-RABBITMQ_VERSION/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging + diff --git a/SPECS/centos-release-messaging-rabbitmq.spec b/SPECS/centos-release-messaging-rabbitmq.spec new file mode 100644 index 0000000..c65b56f --- /dev/null +++ b/SPECS/centos-release-messaging-rabbitmq.spec @@ -0,0 +1,33 @@ +%global RabbitMQVersion 38 +Summary: Config to enable the repository for the Messaging SIG RabbitMQ Server +Name: centos-release-rabbitmq-%{RabbitMQVersion} +Version: 1 +Release: 1%{?dist} +License: GPL +URL: http://wiki.centos.org/SpecialInterestGroup/Messaging +Source0: CentOS-Messaging-rabbitmq.repo +Source1: RPM-GPG-KEY-CentOS-SIG-Messaging + +BuildArch: noarch + +Requires: centos-release + +%description +yum configs for the RabbitMQ Server as delivered by CentOS Messaging SIG. + +%prep + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Messaging-rabbitmq.repo +sed -i -e "s/RABBITMQ_VERSION/%{RabbitMQVersion}/g" %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Messaging-rabbitmq.repo +install -p -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg +install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/rpm-gpg + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/* +%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging + +%changelog +* Thu Apr 02 2020 Alfredo Moralejo - 1.1 +- Initial release for RabbitMQ Server 3.8