diff --git a/macros b/macros index 6a81518..7146f9a 100644 --- a/macros +++ b/macros @@ -220,6 +220,9 @@ %__global_compiler_flags -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches %{_hardened_cflags} %{_annotated_cflags} +# Automatically trim changelog entries after 2 years +%_changelog_trimtime %{lua:print(os.time() - 2 * 365 * 86400)} + #============================================================================== # ---- Generic auto req/prov filtering macros # diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index f18eecd..a025a0e 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -10,7 +10,6 @@ Version: 113 Release: 1%{?dist} # No version specified. License: GPL+ -Group: Development/System URL: https://src.fedoraproject.org/rpms/redhat-rpm-config # Core rpm settings @@ -117,7 +116,7 @@ Provides: system-rpm-config = %{version}-%{release} Red Hat specific rpm configuration files. %package -n kernel-rpm-macros -Summary: Macros and scripts for building kernel module packages. +Summary: Macros and scripts for building kernel module packages Requires: redhat-rpm-config >= 13 %description -n kernel-rpm-macros