Name: hello-copr Version: 0.1 Release: 1%{?dist} Summary: Tiny hello script for testing COPR License: MIT URL: https://example.invalid/hello-copr BuildArch: noarch %description A tiny package used to verify that COPR builds and publishes correctly. %prep %build mkdir -p build cat > build/hello-copr << 'EOF' #!/usr/bin/env bash echo "Hello from COPR!" EOF chmod +x build/hello-copr echo "MIT" > build/LICENSE %install rm -rf %{buildroot} install -Dpm0755 build/hello-copr %{buildroot}%{_bindir}/hello-copr install -Dpm0644 build/LICENSE %{buildroot}%{_licensedir}/%{name}/LICENSE %check build/hello-copr | grep -q "Hello from COPR!" %files %license %{_licensedir}/%{name}/LICENSE %{_bindir}/hello-copr %changelog * Thu Oct 09 2025 Your Name - 0.1-1 - Initial test package