Name: bash-rpm-macros Version: 0.0.1 Release: %autorelease Summary: The common Bash rpm macros BuildArch: noarch License: MIT URL: https://gitlab.com/terryp/bash-rpm-macros Source: ./macros.bash %description This package contains macros useful when packaging bash scripts, and loadable builtins %install mkdir -p %{buildroot}%{rpmmacrodir} install -m 644 %{SOURCE0} %{buildroot}%{rpmmacrodir}/ %check grep -E '^#[^%%]*%%[^%%]' %{buildroot}%{rpmmacrodir}/macros.* && exit 1 || true %files %license %{rpmmacrodir}/macros.bash %changelog %autochangelog