All checks were successful
Build and Publish RPM / build-and-publish (push) Successful in 5s
Fixed the %install section: Changed cp hello.sh $RPM_BUILD_ROOT/%{_bindir}/hello to remove the .sh extension as it's a more conventional name for executable files.
Fixed the %files section: Updated to reference %{_bindir}/hello instead of %{_bindir}/hello.sh
30 lines
550 B
RPMSpec
30 lines
550 B
RPMSpec
Name: hello
|
|
Version: 0.0.1
|
|
Release: 1%{?dist}
|
|
Summary: A simple hello world script
|
|
BuildArch: noarch
|
|
|
|
License: GPLv3+
|
|
URL: https://git.phyllo.me/
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Requires: bash
|
|
|
|
%description
|
|
A demo RPM build
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
cp hello.sh $RPM_BUILD_ROOT/%{_bindir}/hello
|
|
|
|
%files
|
|
%{_bindir}/hello
|
|
|
|
%changelog
|
|
* Wed Jul 09 2025 Lukas Greve <please@refre.ch> - 0.0.1
|
|
- First version being packaged
|