|
|
@ -1,7 +1,6 @@
|
|
|
|
Name: kernel-srpm-macros
|
|
|
|
Name: kernel-srpm-macros
|
|
|
|
Version: 1.0
|
|
|
|
Version: 1.0
|
|
|
|
# when bumping version and resetting release, don't forget to bump version of kernel-rpm-macros as well
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Release: 25%{?dist}
|
|
|
|
|
|
|
|
Summary: RPM macros that list arches the full kernel is built on
|
|
|
|
Summary: RPM macros that list arches the full kernel is built on
|
|
|
|
# This package only exist in Fedora repositories
|
|
|
|
# This package only exist in Fedora repositories
|
|
|
|
# The license is the standard (MIT) specified in
|
|
|
|
# The license is the standard (MIT) specified in
|
|
|
@ -11,10 +10,10 @@ License: MIT
|
|
|
|
URL: https://src.fedoraproject.org/rpms/kernel-srpm-macros
|
|
|
|
URL: https://src.fedoraproject.org/rpms/kernel-srpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# We are now the ones shipping kmod.attr
|
|
|
|
# We are now the ones shipping kmod.attr
|
|
|
|
Conflicts: redhat-rpm-config < 205
|
|
|
|
Conflicts: redhat-rpm-config <= 184
|
|
|
|
# macros.kmp, kmodtool and rpmsort were moved from kernel-rpm-macros
|
|
|
|
# macros.kmp, kmodtool and rpmsort were moved from kernel-rpm-macros
|
|
|
|
# to kernel-srpm-macros in 1.0-9/185-9
|
|
|
|
# to kernel-srpm-macros in 1.0-9/185-9
|
|
|
|
Conflicts: kernel-rpm-macros < 205
|
|
|
|
Conflicts: kernel-rpm-macros < 185-9
|
|
|
|
|
|
|
|
|
|
|
|
# Macros
|
|
|
|
# Macros
|
|
|
|
Source0: macros.kernel-srpm
|
|
|
|
Source0: macros.kernel-srpm
|
|
|
@ -54,11 +53,10 @@ the full kernel is built on.
|
|
|
|
The variable to use is kernel_arches.
|
|
|
|
The variable to use is kernel_arches.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n kernel-rpm-macros
|
|
|
|
%package -n kernel-rpm-macros
|
|
|
|
Version: 205
|
|
|
|
Version: 185
|
|
|
|
|
|
|
|
Release: %{release}
|
|
|
|
Summary: Macros and scripts for building kernel module packages
|
|
|
|
Summary: Macros and scripts for building kernel module packages
|
|
|
|
# rpmsort is GPL-2.0-or-later
|
|
|
|
Requires: redhat-rpm-config >= 13
|
|
|
|
License: MIT AND GPL-2.0-or-later
|
|
|
|
|
|
|
|
Requires: redhat-rpm-config >= 205
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# for brp-kmod-compress
|
|
|
|
# for brp-kmod-compress
|
|
|
|
Requires: %{_bindir}/xz
|
|
|
|
Requires: %{_bindir}/xz
|
|
|
@ -115,10 +113,12 @@ install -p -m 644 -t "%{buildroot}%{_fileattrsdir}" modalias.attr
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{_rpmconfigdir}/macros.d/macros.kernel-srpm
|
|
|
|
%{_rpmconfigdir}/macros.d/macros.kernel-srpm
|
|
|
|
|
|
|
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
|
|
|
%{_fileattrsdir}/kmod.attr
|
|
|
|
%{_fileattrsdir}/kmod.attr
|
|
|
|
|
|
|
|
%{rrcdir}/kmodtool
|
|
|
|
|
|
|
|
%{rrcdir}/rpmsort
|
|
|
|
|
|
|
|
|
|
|
|
%files -n kernel-rpm-macros
|
|
|
|
%files -n kernel-rpm-macros
|
|
|
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
|
|
|
|
|
|
|
%{_rpmconfigdir}/kabi.sh
|
|
|
|
%{_rpmconfigdir}/kabi.sh
|
|
|
|
%{_fileattrsdir}/kabi.attr
|
|
|
|
%{_fileattrsdir}/kabi.attr
|
|
|
|
%{_fileattrsdir}/modalias.attr
|
|
|
|
%{_fileattrsdir}/modalias.attr
|
|
|
@ -132,83 +132,52 @@ install -p -m 644 -t "%{buildroot}%{_fileattrsdir}" modalias.attr
|
|
|
|
%{rrcdir}/find-requires.ksyms
|
|
|
|
%{rrcdir}/find-requires.ksyms
|
|
|
|
%{rrcdir}/find-provides.d/firmware.prov
|
|
|
|
%{rrcdir}/find-provides.d/firmware.prov
|
|
|
|
%{rrcdir}/find-provides.d/modalias.prov
|
|
|
|
%{rrcdir}/find-provides.d/modalias.prov
|
|
|
|
%{rrcdir}/kmodtool
|
|
|
|
|
|
|
|
%{rrcdir}/rpmsort
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0-25
|
|
|
|
* Mon Jun 12 2023 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-13
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
- Handle symvers.xz in kabi.attr (#2209253).
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
- Fix indirect __crc_* sumbols parsing in find-provides.ksyms
|
|
|
|
|
|
|
|
and find-requires.ksyms to avoid matching multiple sections
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0-24
|
|
|
|
producing bogus duplicate provides for kmods that have both __kcrctab
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
and __kcrctab_gpl sections (#2115811, #2178935).
|
|
|
|
|
|
|
|
- Call "readelf -R" on a correct section in find-requires.ksyms.
|
|
|
|
* Wed Mar 06 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.0-23
|
|
|
|
- Rewrite section data extraction in find-provides.ksyms and find-requires.ksyms
|
|
|
|
- Add riscv64
|
|
|
|
to avoid garbage at the end of extracted sections, causing unnecessary awk
|
|
|
|
|
|
|
|
complaints (#2115811).
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-22
|
|
|
|
- Perform section parsing inside the awk script in find-provides.ksyms
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
and find-requires.ksyms to avoid hitting command line argument limit
|
|
|
|
|
|
|
|
when handling large .rodata sections (#2178935).
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-21
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Tue Jan 31 2023 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-12
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 09 2023 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-19
|
|
|
|
|
|
|
|
- Capture local __crc_* symbols for "Provides: kernel()".
|
|
|
|
|
|
|
|
- Add support for XZ compression for the symvers file.
|
|
|
|
|
|
|
|
- Fix "Provides: kernel()" generation when both __kcrctab and __kcrctab_gpl
|
|
|
|
|
|
|
|
are present.
|
|
|
|
|
|
|
|
- Fix regression for "Provides:" generation in cases when modversions are stored
|
|
|
|
|
|
|
|
in a section that is over 64K in size.
|
|
|
|
|
|
|
|
- Speedup and cleanup changes in find-provides.ksyms and find-requires.ksyms.
|
|
|
|
|
|
|
|
- Fix regex usage in kmod.attr. (Denys Vlasenko)
|
|
|
|
|
|
|
|
- Implement modalias "Provides:" grouping. (Denys Vlasenko)
|
|
|
|
|
|
|
|
- Speedup and cleanup changes in modalias.prov and kmod.attr. (Denys Vlasenko)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 30 2023 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-18
|
|
|
|
|
|
|
|
- Avoid triggering debuginfod during elfutils tools usage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 31 2023 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-17
|
|
|
|
|
|
|
|
- Support storing of __crc_* symbols in sections other than .rodata.
|
|
|
|
- Support storing of __crc_* symbols in sections other than .rodata.
|
|
|
|
- Work around a change in type of __crc_* symbols for some kmods printed by nm
|
|
|
|
- Resolves: #2135047
|
|
|
|
on ppc64le and s390x.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-16
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-15
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-14
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 18 2021 Miro Hrončok <mhroncok@redhat.com> - 1.0-13
|
|
|
|
* Thu Feb 17 2022 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-11
|
|
|
|
- Bump kernel-rpm-macros to 205 to provide clear upgrade path
|
|
|
|
- Work around a change in type of __crc_* symbols for some kmods printed by nm
|
|
|
|
|
|
|
|
on ppc64le and s390x
|
|
|
|
* Thu Nov 18 2021 Miro Hrončok <mhroncok@redhat.com> - 1.0-12
|
|
|
|
- Resolves: #2055464
|
|
|
|
- Correct conflicts to redhat-rpm-macros < 205
|
|
|
|
|
|
|
|
- Move Perl scripts back to kernel-rpm-macros to avoid Perl in the default buildroot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 18 2021 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-11
|
|
|
|
|
|
|
|
- Add conflicts of redhat-rpm-macros < 204 as macros.kmp, kmodtool,
|
|
|
|
|
|
|
|
and rpmsort were moved from the latter to the former.
|
|
|
|
|
|
|
|
- Remove RHEL-specific kABI bits from find-requires.ksyms and macros.kmp.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 18 2021 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-10
|
|
|
|
* Thu Nov 18 2021 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-10
|
|
|
|
- Add conflicts of kernel-srpm-macros with kernel-rpm-macros < 185-9
|
|
|
|
- Add conflicts of kernel-srpm-macros with kernel-rpm-macros < 185-9
|
|
|
|
as macros.kmp, kmodtool, and rpmsort were moved from the latter
|
|
|
|
as macros.kmp, kmodtool, and rpmsort were moved from the latter
|
|
|
|
to the former.
|
|
|
|
to the former.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 18 2021 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-9
|
|
|
|
* Mon Sep 20 2021 Eugene Syromiatnikov <esyr@redhat.com> - 1.0-9
|
|
|
|
- Update scripts with RHEL-specific changes.
|
|
|
|
- Update scripts with RHEL-specific changes.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 25 2021 Michal Domonkos <mdomonko@redhat.com> - 1.0-7
|
|
|
|
|
|
|
|
- Bump release for a rebuild in a sidetag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 12 2021 Michal Domonkos <mdomonko@redhat.com> - 1.0-6
|
|
|
|
|
|
|
|
- Adopt kernel-rpm-macros subpackage & kmod.attr from redhat-rpm-config
|
|
|
|
|
|
|
|
- Resolves: #1959914
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 03 2021 Michal Domonkos <mdomonko@redhat.com> - 1.0-5
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0-5
|
|
|
|
- Adopt kernel-rpm-macros & kmod.attr subpackage from redhat-rpm-config
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-4
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|