diff --git a/packages/rpm/pwsp.spec b/packages/rpm/pwsp.spec index b98ccf4..9c53646 100644 --- a/packages/rpm/pwsp.spec +++ b/packages/rpm/pwsp.spec @@ -1,7 +1,11 @@ - # prevent library files from being installed %global cargo_install_lib 0 +# Fallback macros for systems without rpmautospec (e.g. openSUSE) +%{!?autorelease: %global autorelease 1} +%{!?autochangelog: %global autochangelog * Tue Jun 02 2026 Arabian - %{version}-%{release}\n- Release build} + + # disable debuginfo package generation (debugsourcefiles.list is empty for Rust) %global debug_package %{nil}