diff --git a/debconf__needrestart.templates b/debconf__needrestart.templates index f95c9d6..9e482a5 100644 --- a/debconf__needrestart.templates +++ b/debconf__needrestart.templates @@ -99,7 +99,7 @@ Description-cs.UTF-8: Aktualizace mikrokódu procesoru . Restart systému pro načtení nového mikrokódu procesoru nebude obsloužen automaticky, takže byste měli zvážit restart stroje. Description-de.UTF-8: Prozessor Mikrocode-Update - Die laufende Prozessor Mikrocode-Revision ist ${CURRENT}, es wird jedoch die Revision ${AVAIL} erwaret. + Die laufende Prozessor Mikrocode-Revision ist ${CURRENT}, es wird jedoch die Revision ${AVAIL} erwartet. . Das System wird nicht automatisch neu gestartet, um den neuen Prozessor Mikrocode zu laden. Ein Neustart sollte durchgeführt werden. diff --git a/needrestart.spec b/needrestart.spec index 68aac5a..bb79ac4 100644 --- a/needrestart.spec +++ b/needrestart.spec @@ -1,9 +1,9 @@ Name: needrestart -Version: 3.5 -Release: 7%{?dist} +Version: 3.8 +Release: 10%{?dist} Summary: Restart daemons after library updates -License: GPLv2+ +License: GPL-2.0-or-later URL: https://github.com/liske/%{name} Source0: https://github.com/liske/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: debconf__needrestart.templates @@ -14,7 +14,7 @@ Source4: dnf__plugin.py BuildArch: noarch BuildRequires: make BuildRequires: perl -BuildRequires: perl-macros +BuildRequires: perl-generators BuildRequires: gettext BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: debconf @@ -26,22 +26,20 @@ Requires: python3-dnf Requires: yum Requires: python2-subprocess32 %endif -Requires: perl(Module::Find) -Requires: perl(Module::ScanDeps) -Requires: perl(Locale::TextDomain) -Requires: perl(Proc::ProcessTable) -Requires: perl(Sort::Naturally) -Requires: perl(Term::ReadKey) Requires: xz -Recommends: iucode-tool %if 0%{?fedora} || 0%{?rhel} >= 8 Recommends: perl(Debconf::Client::ConfModule) +Recommends: iucode-tool %else -Requires: perl(Debconf::Client::ConfModule) +Requires: iucode-tool %endif %{?perl_default_filter} +%if 0%{?fedora} || 0%{?rhel} >= 8 +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Debconf::Client::ConfModule\\) +%endif + %description needrestart checks which daemons need to be restarted after library @@ -64,6 +62,10 @@ cp man/needrestart.1 %{buildroot}/%{_mandir}/man1/ %find_lang needrestart-notify # useless files rm -rf %{buildroot}/%{perl_archlib} +# binary install path is hardcoded in the Makefile +# (see https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin) +mkdir -p %{buildroot}/usr/bin +mv %{buildroot}/usr/sbin/%{name} %{buildroot}/usr/bin/%{name} # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1489569 cp %{SOURCE1} %{buildroot}/%{_datadir}/%{name}/needrestart.templates # workaround for https://github.com/liske/needrestart/issues/75 @@ -97,16 +99,16 @@ echo "IUCODE_TOOL_EXTRA_OPTIONS=--ignore-broken" >%{buildroot}/%{_sysconfdir}/de %doc README.md README.batch.md README.Cont.md README.Interp.md README.nagios.md README.uCode.md NEWS ChangeLog %config(noreplace) %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/default/intel-microcode -%{_sbindir}/%{name} +%{_bindir}/%{name} %{perl_vendorlib}/* -# %{_libdir} resolves to /usr/lib64 on 64-bits systems, but the software does not handle this +# %%{_libdir} resolves to /usr/lib64 on 64-bits systems, but the software does not handle this /usr/lib/%{name} %{_datadir}/%{name} %{_datadir}/polkit-1 %{_mandir}/man1/needrestart.1* %if 0%{?fedora} || 0%{?rhel} >= 8 %config(noreplace) %{_sysconfdir}/dnf/plugins/needrestart.conf -%{python3_sitelib} +%pycached %{python3_sitelib}/dnf-plugins/needrestart.py %else %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/needrestart.conf /usr/lib/yum-plugins @@ -114,13 +116,95 @@ echo "IUCODE_TOOL_EXTRA_OPTIONS=--ignore-broken" >%{buildroot}/%{_sysconfdir}/de %changelog +* Thu Jul 16 2026 Fedora Release Engineering - 3.8-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Wed Jun 03 2026 Python Maint - 3.8-9 +- Rebuilt for Python 3.15 + +* Fri Jan 16 2026 Fedora Release Engineering - 3.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Sep 19 2025 Python Maint - 3.8-7 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Fri Aug 15 2025 Python Maint - 3.8-6 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Thu Jul 24 2025 Fedora Release Engineering - 3.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Jun 02 2025 Python Maint - 3.8-4 +- Rebuilt for Python 3.14 + +* Wed Mar 26 2025 Marc Dequènes (Duck) - 3.8-3 +- Work around hardcoded binary install path for bin+sbin merge. +* Fri Jan 17 2025 Fedora Release Engineering - 3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sun Nov 24 2024 Steve Cossette - 3.8-1 +- Update to 3.8 to fix several CVEs: +- CVE-2024-48991: Prevent race condition on /proc/$PID/exec evaluation +- CVE-2024-11003: Drop usage of Module::ScanDeps to prevent LPE. +- CVE-2024-48990: Do not set PYTHONPATH environment variable to prevent a LPE. +- CVE-2024-48992: Do not set RUBYLIB environment variable to prevent a LPE. + +* Fri Jul 26 2024 Miroslav Suchý - 3.6-14 +- convert license to SPDX + +* Thu Jul 18 2024 Fedora Release Engineering - 3.6-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 3.6-12 +- Rebuilt for Python 3.13 + +* Thu Jan 25 2024 Fedora Release Engineering - 3.6-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 3.6-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 3.6-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 3.6-8 +- Rebuilt for Python 3.12 + +* Thu Jan 19 2023 Fedora Release Engineering - 3.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Dec 08 2022 Jitka Plesnikova - 3.6-6 +- Add BR perl-generators to automatically generates run-time dependencies + for installed Perl files + +* Fri Jul 22 2022 Fedora Release Engineering - 3.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 3.6-4 +- Rebuilt for Python 3.11 + +* Thu May 26 2022 Marc Dequènes (Duck) - 3.6-3 +- fix changelog + +* Thu May 26 2022 Marc Dequènes (Duck) - 3.6-2 +- Fix debconf template + +* Thu May 19 2022 Marc Dequènes (Duck) - 3.6-1 +- NUR + +* Thu Jan 20 2022 Fedora Release Engineering - 3.5-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 23 2021 Miro Hrončok - 3.5-8 +- Don't own /usr/lib/python3.X/site-packages + * Thu Jul 22 2021 Fedora Release Engineering - 3.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.5-6 - Rebuilt for Python 3.10 -* Mon Mar 16 2021 Marc Dequènes (Duck) - 3.5-5 +* Mon Mar 15 2021 Marc Dequènes (Duck) - 3.5-5 - move 'iucode-tool' to Recommends as it is not available in all architectures diff --git a/sources b/sources index c5b32dc..c90cce9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (needrestart-3.5.tar.gz) = e082ab92497cce7b65da9c625ba0bc2332cc7863c5b7d99a04593c646256da0302519fb7c9fc9823ce0058affdf7eb6a4587a1874881eda8aa4d07032093eb0b +SHA512 (needrestart-3.8.tar.gz) = 5c6f109d137658c8097cf109f8d6e67fb7dad15d47c3c892ae1504fea0b6cdb1e05bf1fa2f861296501729698c924e8343fc1e57cac960d90798138fcdebed31