Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
test

Signed-off-by: ccowman <[email protected]>
  • Loading branch information
ConorC117 committed Aug 8, 2024
1 parent 22e216a commit 930af9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ actions:
jobs:
- job: copr_build
trigger: pull_request
targets: [fedora-stable, epel-7-x86_64, rhel-8-x86_64, rhel-9-x86_64]
targets:
fedora-stable: {}
epel-7-x86_64: {}
rhel-8-x86_64: {}
rhel-9-x86_64: {}
4 changes: 2 additions & 2 deletions contrib/rpm/host-metering.spec.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%bcond_without check

%if 0%{?rhel} <= 7 && ! 0%{?fedora} && ! 0%{?centos}
%define gobuild(o:) scl enable go-toolset-1.19 -- go build -mod vendor -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${GO_LDFLAGS:-} ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'" -a -v %{?**};
%define gobuild(o:) go build -mod vendor -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${GO_LDFLAGS:-} ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'" -a -v %{?**};
%endif
%if 0%{?rhel} <= 7 && ! 0%{?fedora} && 0%{?centos}

Expand Down Expand Up @@ -31,7 +31,7 @@ URL: https://github.com/RedHatInsights/host-metering/
Source: %{name}-%{version}.tar.gz

%if 0%{?rhel} <= 7 && ! 0%{?fedora} && ! 0%{?centos}
BuildRequires: go-toolset-1.19
BuildRequires: golang >= 1.19
%else
BuildRequires: golang >= 1.19
BuildRequires: systemd-rpm-macros
Expand Down

0 comments on commit 930af9a

Please sign in to comment.