import CS yggdrasil-worker-package-manager-0.2.2-2.el9

This commit is contained in:
eabdullin 2024-09-30 17:01:07 +00:00
parent 6f11969d3c
commit 8edccca09d
10 changed files with 14 additions and 42 deletions

View File

@ -1 +0,0 @@
1

6
.gitignore vendored
View File

@ -1,5 +1 @@
/yggdrasil-worker-package-manager-0.2.0.tar.gz
/yggdrasil-worker-package-manager-0.2.0.tar.xz
/yggdrasil-worker-package-manager-0.2.1.tar.xz
/yggdrasil-worker-package-manager-0.2.2.tar.xz
/yggdrasil-worker-package-manager-0.2.3.tar.xz
SOURCES/yggdrasil-worker-package-manager-0.2.2.tar.xz

View File

@ -0,0 +1 @@
8a3caef5716c6571d51ff6a478c76717862af943 SOURCES/yggdrasil-worker-package-manager-0.2.2.tar.xz

View File

@ -1,3 +0,0 @@
# yggdrasil-worker-package-manager
The yggdrasil-worker-package-manager package

View File

@ -2,8 +2,8 @@
# https://github.com/redhatinsights/yggdrasil-worker-package-manager
%global goipath github.com/redhatinsights/yggdrasil-worker-package-manager
Version: 0.2.3
%global tag v%{version}
Version: 0.2.2
%global tag %{version}
%gometa -f
@ -18,23 +18,24 @@ the provided allow-pattern regular expressions.}
%global godocs README.md
Name: yggdrasil-worker-package-manager
Release: %autorelease
Release: 2%{?dist}
Summary: Package manager worker for yggdrasil
License: GPL-3.0-only
URL: %{gourl}
Source: %{url}/releases/download/%{tag}/%{name}-%{version}.tar.xz
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch100: 8c19d5ac3d5731750c935e1e23e9f4add49bff48.patch
BuildRequires: systemd-rpm-macros
BuildRequires: meson
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(systemd)
BuildRequires: golang >= 1.21
%description %{common_description}
%prep
%goprep %{?rhel:-k}
%autopatch -p1 %{?rhel:-M 99}
%if %{undefined rhel}
%generate_buildrequires
@ -56,15 +57,6 @@ export %gomodulesmode
%gocheck
%endif
%post
%systemd_post com.redhat.Yggdrasil1.Worker1.package_manager.service
%preun
%systemd_preun com.redhat.Yggdrasil1.Worker1.package_manager.service
%postun
%systemd_postun_with_restart com.redhat.Yggdrasil1.Worker1.package_manager.service
%files
%license LICENSE
%if %{defined rhel}
@ -74,8 +66,10 @@ export %gomodulesmode
%{_libexecdir}/*
%config(noreplace) %{_sysconfdir}/%{name}
%{_datadir}/dbus-1/system-services/*
%{_datadir}/dbus-1/system.d/*
%{_unitdir}
%changelog
%autochangelog
* Tue Jul 9 2024 Link Dupont <link@redhat.com> - 0.2.2-2
- Drop generation of automatic Go source package
* Mon Jul 8 2024 Link Dupont <link@redhat.com> - 0.2.2-1
- Initial package (RHEL-29802)

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,5 +0,0 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View File

@ -1 +0,0 @@
SHA512 (yggdrasil-worker-package-manager-0.2.3.tar.xz) = 15dad8bb905fb5a4062d6d51b4975de75fccdcaab6202758a8e5fc613b450d305c5ad1ea6554b7aa39cdef0743a69e82594c883a5500c9bc51453cadc1799abe

View File

@ -1,3 +0,0 @@
summary: Run yggdrasil-worker-package-manager --help
test: /usr/libexec/yggdrasil-worker-package-manager --help
duration: 5m