Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ec0f31d5bb |
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
6
.gitignore
vendored
6
.gitignore
vendored
@ -1 +1,5 @@
|
|||||||
SOURCES/yggdrasil-worker-package-manager-0.2.2.tar.xz
|
/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
|
||||||
|
@ -1 +0,0 @@
|
|||||||
8a3caef5716c6571d51ff6a478c76717862af943 SOURCES/yggdrasil-worker-package-manager-0.2.2.tar.xz
|
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# yggdrasil-worker-package-manager
|
||||||
|
|
||||||
|
The yggdrasil-worker-package-manager package
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
5
plans/main.fmf
Normal file
5
plans/main.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (yggdrasil-worker-package-manager-0.2.3.tar.xz) = 15dad8bb905fb5a4062d6d51b4975de75fccdcaab6202758a8e5fc613b450d305c5ad1ea6554b7aa39cdef0743a69e82594c883a5500c9bc51453cadc1799abe
|
3
tests/smoke/main.fmf
Normal file
3
tests/smoke/main.fmf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
summary: Run yggdrasil-worker-package-manager --help
|
||||||
|
test: /usr/libexec/yggdrasil-worker-package-manager --help
|
||||||
|
duration: 5m
|
@ -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
|
||||||
|
|
||||||
@ -18,24 +18,23 @@ the provided allow-pattern regular expressions.}
|
|||||||
%global godocs README.md
|
%global godocs README.md
|
||||||
|
|
||||||
Name: yggdrasil-worker-package-manager
|
Name: yggdrasil-worker-package-manager
|
||||||
Release: 2%{?dist}
|
Release: %autorelease
|
||||||
Summary: Package manager worker for yggdrasil
|
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,10 +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
|
||||||
* Tue Jul 9 2024 Link Dupont <link@redhat.com> - 0.2.2-2
|
%autochangelog
|
||||||
- Drop generation of automatic Go source package
|
|
||||||
|
|
||||||
* Mon Jul 8 2024 Link Dupont <link@redhat.com> - 0.2.2-1
|
|
||||||
- Initial package (RHEL-29802)
|
|
Loading…
Reference in New Issue
Block a user