## START: Set by rpmautospec ## (rpmautospec version 0.7.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: fedora-clang-default-cc Version: 1 Release: %autorelease Summary: Macro files to switch the default compiler to clang for PRM builds License: MIT BuildArch: noarch Requires: clang llvm compiler-rt libomp lld %description Macro files to switch the default compiler to clang for PRM builds %build mkdir -p %{buildroot}%{_sysconfdir}/rpm/ echo "%%toolchain clang" > %{buildroot}%{_sysconfdir}/rpm/macros.default-cc-clang %files %{_sysconfdir}/rpm/macros.default-cc-clang %changelog ## START: Generated by rpmautospec * Sat Nov 09 2024 John Doe <packager@example.com> - 1-1 - Uncommitted changes ## END: Generated by rpmautospec