Skip to content

Commit 31b2b33

Browse files
Fix RPM specfile Source (#35)
* Fix RPM specfile Source Co-authored-by: Andrea Waltlová <[email protected]>
1 parent 9e1e7de commit 31b2b33

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
development
99

1010
# Project constants
11-
VERSION ?= 0.1
11+
VERSION ?= 0.2
1212
PKGNAME ?= rhc-worker-bash
1313
GO_SOURCES := $(wildcard src/*.go)
1414
PYTHON ?= python3

packaging/rhc-worker-bash.spec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
%endif
1919

2020
Name: %{repo_name}
21-
Version: 0.1
21+
Version: 0.2
2222
Release: 1%{?dist}
2323
Summary: Remote Host Configuration (rhc) worker for executing bash scripts on hosts managed by Red Hat Insights.
2424

2525
License: GPLv3+
26-
URL: https://github.com/%{repo_orgname}/%{repo_name}/
27-
Source0: https://github.com/%{repo_orgname}/%{repo_name}/releases/download/v%{version}/%{repo_name}-%{version}.tar.gz
26+
URL: https://github.com/%{repo_orgname}/%{repo_name}
27+
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
2828
ExclusiveArch: %{go_arches}
2929

3030
BuildRequires: golang
@@ -61,5 +61,8 @@ install -D -d -m 755 %{buildroot}%{rhc_worker_conf_dir}
6161

6262
%changelog
6363

64+
* Thu Jul 06 2023 Eric Gustavsson <[email protected]> 0.2-1
65+
- Fix RPM specfile Source
66+
6467
* Wed Jun 14 2023 Rodolfo Olivieri <[email protected]> 0.1-1
6568
- Initial RPM release

0 commit comments

Comments
 (0)