Compare commits

...
Sign in to create a new pull request.

36 commits

Author SHA1 Message Date
Packit
16d9be38a5 Update to 1.5.1 upstream release
- Resolves: rhbz#2521650

Upstream tag: v1.5.1
Upstream commit: 9803fc95

Commit authored by Packit automation (https://packit.dev/)
2026-08-23 16:14:26 +00:00
Packit
c123e510a5 Update to 1.5.0 upstream release
- Resolves: rhbz#2514430

Upstream tag: v1.5.0
Upstream commit: e1abbb35

Commit authored by Packit automation (https://packit.dev/)
2026-08-11 22:17:21 +00:00
Fedora Release Engineering
7112a5f288 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:25:16 +00:00
Mikel Olasagasti Uranga
0e78a2c1e3 Update packit config to support vendorized builds
[skip changelog]
2026-03-03 17:40:44 +01:00
Packit
1d96596258 Update to 1.4.0 upstream release
- Resolves: rhbz#2443356

Upstream tag: v1.4.0
Upstream commit: 02a8c391

Commit authored by Packit automation (https://packit.dev/)
2026-02-27 16:12:17 +00:00
Maxwell G
327ac8b514 Rebuild for https://fedoraproject.org/wiki/Changes/golang1.26 2026-02-02 20:04:01 -06:00
Fedora Release Engineering
95d40b2fd7 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:52:32 +00:00
Alejandro Sáez
73e89ed39e rebuild 2025-10-10 16:39:47 +02:00
Maxwell G
435ce90bb0 Rebuild for golang-1.25.0 2025-08-15 18:47:17 -05:00
Mikel Olasagasti Uranga
4368278288 Miscellaneous packaging improvements
- Use GO111MODULE=on. This is the modern way to build Go applications
  and also includes extra dependency metadata in the binary.
- Use simpler %gotest macro instead of %gocheck script

Ref: 85a703ecae

[skip changelog]
2025-07-27 16:07:56 +02:00
Fedora Release Engineering
d5c13fdbf7 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:03:18 +00:00
Mikel Olasagasti Uranga
645981ad60 Adopt Go Vendor Tools 2025-07-10 11:12:51 +02:00
Fedora Release Engineering
8b14713674 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:15:22 +00:00
Packit
f1c63beb53 Update to 1.3.0 upstream release
- Resolves: rhbz#2333882

Upstream tag: v1.3.0
Upstream commit: 86a75557

Commit authored by Packit automation (https://packit.dev/)
2024-12-23 20:26:54 +00:00
Mikel Olasagasti Uranga
ad03361647 Update to 1.2.5 2024-09-03 14:22:04 +02:00
Fedora Release Engineering
f95de38516 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:25:46 +00:00
Maxwell G
58098f17ad
Rebuild for golang 1.22.0 2024-02-11 23:42:25 +00:00
Mikel Olasagasti Uranga
7207b4c2b6 Update to 1.2.4 - Closes rhbz#2259069 rhbz#2248415 rhbz#2229608 2024-02-12 00:23:32 +01:00
Fedora Release Engineering
c132c07ad8 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 10:07:58 +00:00
Mikel Olasagasti Uranga
4ad7fc21c7 Update to 1.2.3 - Closes rhbz#2248087 2023-11-06 10:43:00 +01:00
Mikel Olasagasti Uranga
3349d43b47 Add ldflags and remove devel package 2023-10-13 12:21:37 +02:00
Mikel Olasagasti Uranga
e58b1da5ce Update to 1.2.2 - Closes rhbz#2242951 2023-10-10 01:08:41 +02:00
Fedora Release Engineering
6140519d40 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:15:30 +00:00
Mikel Olasagasti Uranga
23b2fa51d0 Update to 1.2.1 - Closes rhbz#2221524 2023-07-10 11:37:18 +02:00
Mikel Olasagasti Uranga
1044f14f74 Update to 1.1.4 2023-04-24 12:49:25 +02:00
Mikel Olasagasti Uranga
c154755334 Update to 1.1.3 - Closes rhbz#2164316 2023-01-25 09:22:40 +01:00
Fedora Release Engineering
b4fd1886a3 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 07:49:59 +00:00
Mikel Olasagasti Uranga
902d1a88eb Update to 1.1.2 2023-01-15 14:38:49 +01:00
Mikel Olasagasti Uranga
5500e042b4 Update to 1.1.1 2022-12-20 11:36:59 +01:00
Mikel Olasagasti Uranga
766f6f58ad Update to 1.1.0 - Closes rhbz#2149052 2022-11-28 22:11:40 +01:00
Mikel Olasagasti Uranga
9e7fe155e4 Update to 1.0.0 2022-11-07 21:30:56 +01:00
Mikel Olasagasti Uranga
122c3f0e61 Use correct package name 2022-08-29 17:47:21 +02:00
Mikel Olasagasti Uranga
758028663c Update to 0.0.8 - Closes rhbz#2122039 2022-08-29 17:23:24 +02:00
Fedora Release Engineering
f5d4e0e02b Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:29:48 +00:00
Maxwell G
9160f3a602
Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang 2022-07-19 13:59:18 -05:00
Robert-André Mauchin
ada62e67df Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 2022-06-18 12:25:52 +02:00
6 changed files with 97 additions and 27 deletions

20
.gitignore vendored
View file

@ -1,2 +1,22 @@
/xq-0.0.6.tar.gz
/xq-0.0.7.tar.gz
/xq-0.0.8.tar.gz
/xq-1.0.0.tar.gz
/xq-1.1.0.tar.gz
/xq-1.1.1.tar.gz
/xq-1.1.2.tar.gz
/xq-1.1.3.tar.gz
/xq-1.1.4.tar.gz
/xq-1.2.1.tar.gz
/xq-1.2.2.tar.gz
/xq-1.2.3.tar.gz
/xq-1.2.4.tar.gz
/xq-1.2.5.tar.gz
/xq-1.3.0.tar.gz
/xq-1.3.0-vendor.tar.bz2
/xq-1.4.0.tar.gz
/xq-1.4.0-vendor.tar.bz2
/xq-1.5.0.tar.gz
/xq-1.5.0-vendor.tar.bz2
/xq-1.5.1.tar.gz
/xq-1.5.1-vendor.tar.bz2

31
.packit.yaml Normal file
View file

@ -0,0 +1,31 @@
---
downstream_package_name: xq
upstream_project_url: https://github.com/sibprogrammer/xq
upstream_tag_template: "v{version}"
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
rawhide: {}
- job: koji_build
trigger: commit
dist_git_branches:
- rawhide
actions:
post-modifications:
- |
sh -xeuc "
cd $PACKIT_DOWNSTREAM_REPO
export GOTOOLCHAIN=local+auto
spec="$PACKIT_DOWNSTREAM_PACKAGE_NAME.spec"
go_vendor_archive create --config go-vendor-tools.toml "$spec"
go_vendor_license \
--config go-vendor-tools.toml \
--path "$spec" \
report \
--verify-spec \
--autofill=auto
"
create_sync_note: false

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.15.0.post1.dev2+g8f2adf816.

8
go-vendor-tools.toml Normal file
View file

@ -0,0 +1,8 @@
[archive]
[licensing]
detector = "askalono"
[[licensing.licenses]]
path = "vendor/gopkg.in/yaml.v3/LICENSE"
sha256sum = "d18f6323b71b0b768bb5e9616e36da390fbd39369a81807cca352de4e4e6aa0b"
expression = "MIT AND (MIT AND Apache-2.0)"

View file

@ -1,2 +1,2 @@
SHA512 (xq-0.0.6.tar.gz) = 71831174781f1eb6536ef90cade75a323e1ca52e94adf9204c52c4c6dde1e9e83a5e677e2caafa2cb24a9b582713de5969a6b20a975133d504966fd45661b43a
SHA512 (xq-0.0.7.tar.gz) = 5411217be4dd7cc6bb5af625d459067fbe97d42e9b204a054024c7736fc3147cbb970b922e52fac70ed93e29cacddc1ab72c573149da8b483828dba973f05253
SHA512 (xq-1.5.1.tar.gz) = 016b17a6e6e39819c3a309c173ff31a5e0ead2439fdd51766ec0ee5d8c789bc6f7fe65ee2f75252a0d493c594c4aa63f3fb3ea59f6054d4807a6c22d07e8a559
SHA512 (xq-1.5.1-vendor.tar.bz2) = 6df48b41d621c54328e860f49e9f4579fa5eaaa80262060d126c1a3f179039625f122851d418f0dd695b9e05ae5d3a3a143c6d4eac3011ef19343b1b7ad78356

58
xq.spec
View file

@ -1,56 +1,64 @@
# Generated by go2rpm 1.5.0
%bcond_without check
# Generated by go2rpm 1.17.1
%bcond check 1
# https://github.com/sibprogrammer/xq
%global goipath github.com/sibprogrammer/xq
Version: 0.0.7
Version: 1.5.1
%gometa
%gometa -L -f
%global common_description %{expand:
Command line XML beautifier and content extractor. Similar to jq.}
%global golicenses LICENSE
%global godocs README.md
Name: xq
Release: %autorelease
Summary: Command line XML beautifier and content extractor. Similar to jq
Summary: Command-line XML and HTML beautifier and content extractor
License: MIT
# Generated by go-vendor-tools
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
URL: %{gourl}
Source0: %{gosource}
# Generated by go-vendor-tools
Source1: %{archivename}-vendor.tar.bz2
Source2: go-vendor-tools.toml
BuildRequires: go-vendor-tools
%description
%{common_description}
%gopkg
Command-line XML and HTML beautifier and content extractor.
%prep
%goprep
%goprep -A
%setup -q -T -D -a1 %{forgesetupargs}
%autopatch -p1
%generate_buildrequires
%go_generate_buildrequires
%go_vendor_license_buildrequires -c %{S:2}
%build
%global gomodulesmode GO111MODULE=on
export GO_LDFLAGS="-X main.commit=fedora \
-X main.version=%{version} \
-X main.date=$(date -d "@${SOURCE_DATE_EPOCH}" +%Y-%m-%d)"
%gobuild -o %{gobuilddir}/bin/xq %{goipath}/
%install
%gopkginstall
%go_vendor_license_install -c %{S:2}
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
mv ./docs/%{name}.man ./docs/%{name}.1
install -Dpm 0644 ./docs/%{name}.1 -t %{buildroot}%{_mandir}/man1/
%check
%gocheck
%go_vendor_license_check -c %{S:2}
%if %{with check}
%gotest ./...
%endif
%files
%license LICENSE
%doc README.md
%{_bindir}/*
%gopkgfiles
%files -f %{go_vendor_license_filelist}
%license vendor/modules.txt
%doc docs README.md
%{_bindir}/xq
%{_mandir}/man1/%{name}.1*
%changelog
%autochangelog