61 lines
1.8 KiB
RPMSpec
61 lines
1.8 KiB
RPMSpec
|
%define name koji-rocketmessaging
|
||
|
%define version 11.0.0
|
||
|
%define release 1
|
||
|
Summary: Enable Koji to send RocketChat Messaging messages
|
||
|
Name: %{name}
|
||
|
Version: %{version}
|
||
|
Release: %{release}%{?dist}
|
||
|
Source: %{name}-%{version}.tar.gz
|
||
|
Group: Applications/System
|
||
|
License: GPLv3
|
||
|
URL: https://src.koozali.org/infra/koji-rocketmessaging
|
||
|
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: python
|
||
|
BuildRequires: python3-devel
|
||
|
BuildRequires: python-setuptools
|
||
|
|
||
|
Requires: python3-koji-hub
|
||
|
Requires: python3-koji-kojimessaging-messages
|
||
|
|
||
|
%description
|
||
|
Enable Koji to send RocketChat Messaging messages
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{version}-%{release}
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
%{__install} -d $RPM_BUILD_ROOT%{_prefix}/lib/koji-hub-plugins
|
||
|
%{__install} -p -m 0644 koji-rocketmessaging/koji-rocketmessaging.py $RPM_BUILD_ROOT%{_prefix}/lib/koji-hub-plugins/koji-rocketmessaging.py
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%{_prefix}/lib/koji-hub-plugins
|
||
|
|
||
|
%changelog
|
||
|
* Thu Oct 03 2024 Trevor Batley <trevor@batley.id.au>
|
||
|
- adapted to use RocketChat
|
||
|
|
||
|
* Thu Feb 08 2024 Aurelien Bompard <abompard@fedoraproject.org> - 1.1.3-1
|
||
|
- Version 1.1.3
|
||
|
https://github.com/fedora-infra/koji-fedoramessaging/compare/1.1.2...1.1.3
|
||
|
|
||
|
* Mon Jun 12 2023 Aurelien Bompard <abompard@fedoraproject.org> - 1.1.2-1
|
||
|
- The files_base_url is only relevant for build and task state changes
|
||
|
|
||
|
* Fri Jun 09 2023 Aurelien Bompard <abompard@fedoraproject.org> - 1.1.1-1
|
||
|
- Don't call get_message_body() needlessly
|
||
|
|
||
|
* Fri Jun 09 2023 Aurelien Bompard <abompard@fedoraproject.org> - 1.1.0-1
|
||
|
- Add more data in the task and build state change messages
|
||
|
|
||
|
* Thu Feb 09 2023 Ryan Lerch <rlerch@redhat.com> - 1.0.1-1
|
||
|
- Tweak logging so kojihub logger can find the logs
|
||
|
|
||
|
* Tue Feb 07 2023 Ryan Lerch <rlerch@redhat.com> - 1.0-1
|
||
|
- Initial Release
|