Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit 925ae16

Browse files
committed
make rpm spec more flexible to build master branch
1 parent 13d7be7 commit 925ae16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws-ec2-ssh.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%define name aws-ec2-ssh
22
%define version %{jenkins_version}
33
%define release %{jenkins_release}%{?dist}
4-
4+
%define archive %{jenkins_archive}
55

66
Name: %{name}
77
Summary: Manage AWS EC2 SSH access with IAM
@@ -11,7 +11,7 @@ Release: %{release}
1111
Group: System/Administration
1212
License: MIT
1313
URL: https://cloudonaut.io/manage-aws-ec2-ssh-access-with-iam/
14-
Source0: https://github.com/widdix/aws-ec2-ssh/archive/v%{version}.tar.gz
14+
Source0: https://github.com/widdix/aws-ec2-ssh/archive/%{archive}.tar.gz
1515
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
1616
BuildArch: noarch
1717
BuildRoot: %{_tmppath}/%{name}-root}

0 commit comments

Comments
 (0)