%global _trivial .0 %global _buildid .5 Name: al23x-rpm-macros Version: 0.1 Release: 1%{dist}%{?_trivial}%{?_buildid} Summary: Custom RPM macros for al23x build environment License: MIT BuildArch: noarch # No actual sources; just ship your macros file Source0: macros.al23x %description This package provides custom RPM macros for use in the al23x buildroot. It installs a macros file into the standard rpm macros directory so that all packages built in this environment automatically inherit the macros. %prep # nothing %build # nothing %install mkdir -p %{buildroot}/etc/rpm/macros.d/ install -m 0644 %{SOURCE0} %{buildroot}/etc/rpm/macros.d/macros.al23x %files /etc/rpm/macros.d/macros.al23x %changelog * Wed Sep 17 2025 Yonghang Wang - 0.1-1 - Initial release