diff --git a/SPECS/centos-release-messaging-rabbitmq.spec b/SPECS/centos-release-messaging-rabbitmq.spec deleted file mode 100644 index c65b56f..0000000 --- a/SPECS/centos-release-messaging-rabbitmq.spec +++ /dev/null @@ -1,33 +0,0 @@ -%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 diff --git a/SPECS/centos-release-messaging.spec b/SPECS/centos-release-messaging.spec new file mode 100644 index 0000000..ceab169 --- /dev/null +++ b/SPECS/centos-release-messaging.spec @@ -0,0 +1,39 @@ +%global RabbitMQVersion 38 +Summary: Config to enable the repository for the Messaging SIG +Name: centos-release-messaging +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 + +%description +yum configs for repositories as delivered by CentOS Messaging SIG. + +%package -n centos-release-rabbitmq-%{RabbitMQVersion} +Summary: Config to enable the repository for the Messaging SIG RabbitMQ Server + +Requires: centos-release + +%description -n centos-release-rabbitmq-%{RabbitMQVersion} +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 -n centos-release-rabbitmq-%{RabbitMQVersion} +%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