-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcopr-ci.spec
More file actions
34 lines (26 loc) · 676 Bytes
/
copr-ci.spec
File metadata and controls
34 lines (26 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# sed will replace these values
%global build_version 0
%global branch 0
%global commit 0
Name: copr-ci
Version: %{build_version}
Release: 1%{?dist}
Summary: Sample spec file for testing LizardByte/copr-ci
License: MIT
URL: https://app.lizardbyte.dev
%description
Sample spec file for testing LizardByte/copr-ci
%prep
# Nothing to prepare
%build
echo '#!/bin/sh' > hello-world.sh
echo 'echo "Hello, World!"' >> hello-world.sh
chmod +x hello-world.sh
%check
# ensure output is correct
./hello-world.sh | grep -q "Hello, World!"
%install
install -D -m 0755 hello-world.sh %{buildroot}%{_bindir}/lizardbyte-hello-world
%files
%{_bindir}/lizardbyte-hello-world
%changelog