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.0.tar.xz
|
||||||
/yggdrasil-worker-package-manager-0.2.1.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.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
|
# https://github.com/redhatinsights/yggdrasil-worker-package-manager
|
||||||
%global goipath github.com/redhatinsights/yggdrasil-worker-package-manager
|
%global goipath github.com/redhatinsights/yggdrasil-worker-package-manager
|
||||||
Version: 0.2.2
|
Version: 0.2.3
|
||||||
%global tag %{version}
|
%global tag v%{version}
|
||||||
|
|
||||||
%gometa -f
|
%gometa -f
|
||||||
|
|
||||||
@ -23,19 +23,18 @@ Summary: Package manager worker for yggdrasil
|
|||||||
|
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
URL: %{gourl}
|
URL: %{gourl}
|
||||||
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
Source: %{url}/releases/download/%{tag}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
Patch100: 8c19d5ac3d5731750c935e1e23e9f4add49bff48.patch
|
|
||||||
|
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
BuildRequires: golang >= 1.21
|
||||||
|
|
||||||
%description %{common_description}
|
%description %{common_description}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%goprep %{?rhel:-k}
|
%goprep %{?rhel:-k}
|
||||||
%autopatch -p1 %{?rhel:-M 99}
|
|
||||||
|
|
||||||
%if %{undefined rhel}
|
%if %{undefined rhel}
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
@ -57,6 +56,15 @@ export %gomodulesmode
|
|||||||
%gocheck
|
%gocheck
|
||||||
%endif
|
%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
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%if %{defined rhel}
|
%if %{defined rhel}
|
||||||
@ -66,6 +74,8 @@ export %gomodulesmode
|
|||||||
%{_libexecdir}/*
|
%{_libexecdir}/*
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}
|
%config(noreplace) %{_sysconfdir}/%{name}
|
||||||
%{_datadir}/dbus-1/system-services/*
|
%{_datadir}/dbus-1/system-services/*
|
||||||
|
%{_datadir}/dbus-1/system.d/*
|
||||||
|
%{_unitdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
%autochangelog
|
||||||
|
Loading…
Reference in New Issue
Block a user