Update to 0.2.3 (RHEL-58739)
Resolves: RHEL-58739
This commit is contained in:
parent
98aa663f8d
commit
a14769cbe1
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/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
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (yggdrasil-worker-package-manager-0.2.2.tar.xz) = 91a44e6b99c36bf0791f298d6ea2dfc9aacb4098b1f0b6305ef4084f5774eef55a3e309cff99915e0e28cf3a06dba797c66915975fba08fc0423f18f97cd5990
|
||||
SHA512 (yggdrasil-worker-package-manager-0.2.3.tar.xz) = 15dad8bb905fb5a4062d6d51b4975de75fccdcaab6202758a8e5fc613b450d305c5ad1ea6554b7aa39cdef0743a69e82594c883a5500c9bc51453cadc1799abe
|
||||
|
@ -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
|
||||
|
||||
@ -23,19 +23,18 @@ 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,6 +74,8 @@ export %gomodulesmode
|
||||
%{_libexecdir}/*
|
||||
%config(noreplace) %{_sysconfdir}/%{name}
|
||||
%{_datadir}/dbus-1/system-services/*
|
||||
%{_datadir}/dbus-1/system.d/*
|
||||
%{_unitdir}
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
Loading…
Reference in New Issue
Block a user