New YQ package added, nginx updated
This commit is contained in:
52
alma/SPECS/yq.spec
Normal file
52
alma/SPECS/yq.spec
Normal file
@@ -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 <daniel.steiner@dsteiner.ch>
|
||||||
|
- First build.
|
||||||
|
|
||||||
52
centos/SPECS/yq.spec
Normal file
52
centos/SPECS/yq.spec
Normal file
@@ -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 <daniel.steiner@dsteiner.ch>
|
||||||
|
- First build.
|
||||||
|
|
||||||
52
fedora/SPECS/yq.spec
Normal file
52
fedora/SPECS/yq.spec
Normal file
@@ -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 <daniel.steiner@dsteiner.ch>
|
||||||
|
- First build.
|
||||||
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
Name: zabbix
|
Name: zabbix
|
||||||
Version: 7.0.0
|
Version: 7.0.2
|
||||||
Release: %{?alphatag:%{?alphatag}.}release1%{?dist}
|
Release: %{?alphatag:%{?alphatag}.}release1%{?dist}
|
||||||
Summary: The Enterprise-class open source monitoring solution
|
Summary: The Enterprise-class open source monitoring solution
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@@ -1324,6 +1324,9 @@ if [ $1 = 0 ] && semodule -l | grep -q zabbix_policy; then semodule -r zabbix_po
|
|||||||
#
|
#
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 29 2024 Zabbix Packager <daniel.steiner@dsteiner.ch>
|
||||||
|
- Version update to 7.0.2
|
||||||
|
|
||||||
* Wed Jun 19 2024 Zabbix Packager <daniel.steiner@dsteiner.ch>
|
* Wed Jun 19 2024 Zabbix Packager <daniel.steiner@dsteiner.ch>
|
||||||
- Version update to 7.0.0
|
- Version update to 7.0.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user