From 1d7624cf4eccd1771425130e141fdf48e4a9cac1 Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Jun 16 2020 18:10:40 +0000 Subject: Added subpackages --- diff --git a/SOURCES/CentOS-Messaging-pyngus.repo b/SOURCES/CentOS-Messaging-pyngus.repo new file mode 100644 index 0000000..77b0b11 --- /dev/null +++ b/SOURCES/CentOS-Messaging-pyngus.repo @@ -0,0 +1,28 @@ +[centos-pyngus] +name=CentOS-8 - Pyngus +#baseurl=http://mirror.centos.org/centos/$releasever/messaging/$basearch/pyngus +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=messaging-pyngus +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging + +[centos-pyngus-test] +name=CentOS-8 - Pyngus Testing +baseurl=https://buildlogs.centos.org/centos/$releasever/messaging/$basearch/pyngus +gpgcheck=0 +enabled=0 + +[centos-pyngus-debuginfo] +name=CentOS-8 - Pyngus - 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-pyngus-source] +name=CentOS-8 - Pyngus - Source +baseurl=http://vault.centos.org/centos/$releasever/messaging/Source/pyngus/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging + diff --git a/SOURCES/CentOS-Messaging-qpid-dispatch.repo b/SOURCES/CentOS-Messaging-qpid-dispatch.repo new file mode 100644 index 0000000..506e758 --- /dev/null +++ b/SOURCES/CentOS-Messaging-qpid-dispatch.repo @@ -0,0 +1,28 @@ +[centos-qpid-dispatch] +name=CentOS-8 - QPID Dispatch +#baseurl=http://mirror.centos.org/centos/$releasever/messaging/$basearch/qpid-dispatch +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=messaging-qpid-dispatch +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging + +[centos-qpid-dispatch-test] +name=CentOS-8 - QPID Dispatch Testing +baseurl=https://buildlogs.centos.org/centos/$releasever/messaging/$basearch/qpid-dispatch +gpgcheck=0 +enabled=0 + +[centos-qpid-dispatch-debuginfo] +name=CentOS-8 - QPID Dispatch - 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-qpid-dispatch-source] +name=CentOS-8 - QPID Dispatch - Source +baseurl=http://vault.centos.org/centos/$releasever/messaging/Source/qpid-dispatch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging + diff --git a/SPECS/centos-release-messaging.spec b/SPECS/centos-release-messaging.spec index d78d381..a2addf1 100644 --- a/SPECS/centos-release-messaging.spec +++ b/SPECS/centos-release-messaging.spec @@ -2,12 +2,14 @@ Summary: Config to enable the repository for the Messaging SIG Name: centos-release-messaging Version: 1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 URL: http://wiki.centos.org/SpecialInterestGroup/Messaging Source0: RPM-GPG-KEY-CentOS-SIG-Messaging Source1: CentOS-Messaging-qpid-proton.repo Source2: CentOS-Messaging-rabbitmq.repo +Source3: CentOS-Messaging-qpid-dispatch.repo +Source4: CentOS-Messaging-pyngus.repo BuildArch: noarch @@ -25,7 +27,6 @@ Requires: centos-release-messaging yum configs for the RabbitMQ Server as delivered by CentOS Messaging SIG. - %package -n centos-release-qpid-proton Summary: Config to enable the Messaging SIG QPID Proton packages @@ -36,6 +37,26 @@ Repository configuration for QPID Proton packages as delivered by the CentOS Messaging SIG. +%package -n centos-release-qpid-dispatch +Summary: Config to enable the Messaging SIG QPID Dispatch packages + +Requires: centos-release-messaging + +%description -n centos-release-qpid-dispatch +Repository configuration for QPID Dispatch packages as delivered by the +CentOS Messaging SIG. + + +%package -n centos-release-pyngus +Summary: Config to enable the Messaging SIG Pyngus packages + +Requires: centos-release-messaging + +%description -n centos-release-pyngus +Repository configuration for Pyngus packages as delivered by the +CentOS Messaging SIG. + + %prep %install @@ -49,6 +70,12 @@ install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Messa install -D -m 644 %{SOURCE2} %{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 +# qpid-dispatch +install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Messaging-qpid-dispatch.repo + +# pyngus +install -D -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Messaging-pyngus.repo + %files %defattr(-,root,root) %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging @@ -61,7 +88,19 @@ sed -i -e "s/RABBITMQ_VERSION/%{RabbitMQVersion}/g" %{buildroot}%{_sysconfdir}/y %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Messaging-rabbitmq.repo +%files -n centos-release-qpid-dispatch +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Messaging-qpid-dispatch.repo + +%files -n centos-release-pyngus +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Messaging-pyngus.repo + %changelog +* Tue Jun 16 2020 Irina Boverman - 1.3 +- add qpid-dispatch subpackage +- add pyngus subpackage + * Tue Apr 07 2020 Matthias Runge - 1.2 - add qpid-proton subpackage - move gpg key to common