Initial commit

This commit is contained in:
Lukas Krause 2022-09-15 14:05:11 +02:00
commit d8da1ab9ff
2 changed files with 35 additions and 0 deletions

6
.obs/workflows.yml Normal file
View File

@ -0,0 +1,6 @@
workflow:
steps:
- branch_package:
source_project: home:Admin
source_package: hello_world
target_project: test

29
hello_world.spec Normal file
View File

@ -0,0 +1,29 @@
Name: hello_world
Version: 1
Release: 1
Summary: Most simple RPM package
License: MIT
%description
This is my first RPM package, which does nothing.
%prep
# we have no source, so nothing here
%build
cat > hello_world.sh <<EOF
#!/usr/bin/bash
echo Hello world
EOF
%install
mkdir -p %{buildroot}/usr/bin/
install -m 755 hello_world.sh %{buildroot}/usr/bin/hello_world.sh
%files
/usr/bin/hello_world.sh
%changelog
# let skip this for now
Footer