From 6a6081f43b3ff3b0c3740948ecf2fef628f5a2c4 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Tue, 7 Feb 2023 16:08:56 +1000 Subject: [PATCH] Release Version 1.0 Signed-off-by: Ryan Lerch --- .gitattributes | 2 ++ koji-fedoramessaging.spec | 38 ++++++++++++++++++++ koji-fedoramessaging/koji-fedoramessaging.py | 2 ++ 3 files changed, 42 insertions(+) create mode 100644 .gitattributes create mode 100644 koji-fedoramessaging.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..11d80fc --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ + +koji-fedoramessaging.spec export-ignore diff --git a/koji-fedoramessaging.spec b/koji-fedoramessaging.spec new file mode 100644 index 0000000..d886314 --- /dev/null +++ b/koji-fedoramessaging.spec @@ -0,0 +1,38 @@ +Name: koji-fedoramessaging +Version: 1.0 +Release: 1%{?dist} +Summary: Enable Koji to send Fedora Messaging messages +Group: Applications/System +License: GPLv3 +URL: https://github.com/fedora-infra/koji-fedoramessaging +Source0: %{url}/archive/%{version}/koji-fedoramessaging-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python +BuildRequires: python3-devel +BuildRequires: python-setuptools + +Requires: python3-koji-hub +Requires: python3-fedoramessaging-messages + +%description +Enable Koji to send Fedora Messaging messages + +%prep +%setup -q + +%build + +%install +%{__install} -d $RPM_BUILD_ROOT%{_prefix}/lib/koji-hub-plugins +%{__install} -p -m 0644 koji-fedoramessaging/koji-fedoramessaging.py $RPM_BUILD_ROOT%{_prefix}/lib/koji-hub-plugins/koji-fedoramessaging.py + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%{_prefix}/lib/koji-hub-plugins + +%changelog +* Tue Feb 07 2023 Ryan Lerch - 1.0-1 +- Initial Release diff --git a/koji-fedoramessaging/koji-fedoramessaging.py b/koji-fedoramessaging/koji-fedoramessaging.py index f100848..3251c0f 100644 --- a/koji-fedoramessaging/koji-fedoramessaging.py +++ b/koji-fedoramessaging/koji-fedoramessaging.py @@ -1,3 +1,5 @@ +# Version 0.1 +# # Koji callback plugin for sending notifications about events to fedora-messaging # Copyright (c) 2009-2023 Red Hat, Inc. #