diff --git a/alma/SPECS/yq.spec b/alma/SPECS/yq.spec new file mode 100644 index 0000000..74eed6d --- /dev/null +++ b/alma/SPECS/yq.spec @@ -0,0 +1,52 @@ +%global goipath github.com/mikefarah/yq/v4 + +%global godocs examples CODE_OF_CONDUCT.md how-it-works.md project-\\\ + words.txt release_instructions.txt CONTRIBUTING.md\\\ + README.md release_notes.txt + +Name: yq +Version: 4.44.2 +Release: 1%{?dist} +Summary: Yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor + +License: MIT +URL: https://github.com/mikefarah/yq +Source: https://github.com/mikefarah/yq/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: golang-bin +BuildRequires: golang + +%define debug_package %{nil} + +%description +A lightweight and portable command-line YAML, JSON and XML processor. +yq uses jq like syntax but works with yaml files as well as json, xml, properties, csv and tsv. +It doesn't yet support everything jq does - but it does support the most common operations +and functions, and more is being added continuously. + +%prep +%setup +%autopatch -p1 + + +%build +go mod vendor +go build . + +%install +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{name} %{buildroot}%{_bindir}/%{name} + +%check +go test ./... + +%files +%license LICENSE +%doc examples CODE_OF_CONDUCT.md how-it-works.md project-words.txt +%doc release_instructions.txt CONTRIBUTING.md README.md release_notes.txt +%{_bindir}/yq + +%changelog +* Thu Aug 1 2024 Daniel Steiner +- First build. + diff --git a/centos/SPECS/yq.spec b/centos/SPECS/yq.spec new file mode 100644 index 0000000..74eed6d --- /dev/null +++ b/centos/SPECS/yq.spec @@ -0,0 +1,52 @@ +%global goipath github.com/mikefarah/yq/v4 + +%global godocs examples CODE_OF_CONDUCT.md how-it-works.md project-\\\ + words.txt release_instructions.txt CONTRIBUTING.md\\\ + README.md release_notes.txt + +Name: yq +Version: 4.44.2 +Release: 1%{?dist} +Summary: Yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor + +License: MIT +URL: https://github.com/mikefarah/yq +Source: https://github.com/mikefarah/yq/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: golang-bin +BuildRequires: golang + +%define debug_package %{nil} + +%description +A lightweight and portable command-line YAML, JSON and XML processor. +yq uses jq like syntax but works with yaml files as well as json, xml, properties, csv and tsv. +It doesn't yet support everything jq does - but it does support the most common operations +and functions, and more is being added continuously. + +%prep +%setup +%autopatch -p1 + + +%build +go mod vendor +go build . + +%install +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{name} %{buildroot}%{_bindir}/%{name} + +%check +go test ./... + +%files +%license LICENSE +%doc examples CODE_OF_CONDUCT.md how-it-works.md project-words.txt +%doc release_instructions.txt CONTRIBUTING.md README.md release_notes.txt +%{_bindir}/yq + +%changelog +* Thu Aug 1 2024 Daniel Steiner +- First build. + diff --git a/fedora/SPECS/yq.spec b/fedora/SPECS/yq.spec new file mode 100644 index 0000000..74eed6d --- /dev/null +++ b/fedora/SPECS/yq.spec @@ -0,0 +1,52 @@ +%global goipath github.com/mikefarah/yq/v4 + +%global godocs examples CODE_OF_CONDUCT.md how-it-works.md project-\\\ + words.txt release_instructions.txt CONTRIBUTING.md\\\ + README.md release_notes.txt + +Name: yq +Version: 4.44.2 +Release: 1%{?dist} +Summary: Yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor + +License: MIT +URL: https://github.com/mikefarah/yq +Source: https://github.com/mikefarah/yq/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: golang-bin +BuildRequires: golang + +%define debug_package %{nil} + +%description +A lightweight and portable command-line YAML, JSON and XML processor. +yq uses jq like syntax but works with yaml files as well as json, xml, properties, csv and tsv. +It doesn't yet support everything jq does - but it does support the most common operations +and functions, and more is being added continuously. + +%prep +%setup +%autopatch -p1 + + +%build +go mod vendor +go build . + +%install +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{name} %{buildroot}%{_bindir}/%{name} + +%check +go test ./... + +%files +%license LICENSE +%doc examples CODE_OF_CONDUCT.md how-it-works.md project-words.txt +%doc release_instructions.txt CONTRIBUTING.md README.md release_notes.txt +%{_bindir}/yq + +%changelog +* Thu Aug 1 2024 Daniel Steiner +- First build. + diff --git a/fedora/SPECS/zabbix.spec b/fedora/SPECS/zabbix.spec index c34e91f..c953fdb 100644 --- a/fedora/SPECS/zabbix.spec +++ b/fedora/SPECS/zabbix.spec @@ -1,5 +1,5 @@ Name: zabbix -Version: 7.0.0 +Version: 7.0.2 Release: %{?alphatag:%{?alphatag}.}release1%{?dist} Summary: The Enterprise-class open source monitoring solution Group: Applications/Internet @@ -1324,6 +1324,9 @@ if [ $1 = 0 ] && semodule -l | grep -q zabbix_policy; then semodule -r zabbix_po # %changelog +* Mon Jul 29 2024 Zabbix Packager +- Version update to 7.0.2 + * Wed Jun 19 2024 Zabbix Packager - Version update to 7.0.0