packages(rpm): add fallback macros for systems without rpmautospec

This commit is contained in:
2026-06-02 23:44:32 +03:00
parent a7b5bdd2a9
commit 70bd3a889a
+5 -1
View File
@@ -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 <arabianq@github> - %{version}-%{release}\n- Release build}
# disable debuginfo package generation (debugsourcefiles.list is empty for Rust)
%global debug_package %{nil}