Compare commits

..

No commits in common. "c9s" and "c10s" have entirely different histories.
c9s ... c10s

5 changed files with 27 additions and 14 deletions

4
.gitignore vendored
View File

@ -1 +1,5 @@
/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

3
README.md Normal file
View File

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

View File

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

View File

@ -1 +1 @@
SHA512 (yggdrasil-worker-package-manager-0.2.2.tar.xz) = 91a44e6b99c36bf0791f298d6ea2dfc9aacb4098b1f0b6305ef4084f5774eef55a3e309cff99915e0e28cf3a06dba797c66915975fba08fc0423f18f97cd5990
SHA512 (yggdrasil-worker-package-manager-0.2.3.tar.xz) = 15dad8bb905fb5a4062d6d51b4975de75fccdcaab6202758a8e5fc613b450d305c5ad1ea6554b7aa39cdef0743a69e82594c883a5500c9bc51453cadc1799abe

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.2
%global tag %{version}
Version: 0.2.3
%global tag v%{version}
%gometa -f
@ -18,24 +18,23 @@ the provided allow-pattern regular expressions.}
%global godocs README.md
Name: yggdrasil-worker-package-manager
Release: 2%{?dist}
Release: %autorelease
Summary: Package manager worker for yggdrasil
License: GPL-3.0-only
URL: %{gourl}
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch100: 8c19d5ac3d5731750c935e1e23e9f4add49bff48.patch
Source: %{url}/releases/download/%{tag}/%{name}-%{version}.tar.xz
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
@ -57,6 +56,15 @@ 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}
@ -66,10 +74,8 @@ export %gomodulesmode
%{_libexecdir}/*
%config(noreplace) %{_sysconfdir}/%{name}
%{_datadir}/dbus-1/system-services/*
%{_datadir}/dbus-1/system.d/*
%{_unitdir}
%changelog
* 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)
%autochangelog