Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Base:System
needrestart
needrestart.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File needrestart.spec of Package needrestart
# # spec file for package needrestart # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: needrestart Version: 3.6 Release: 2%{?dist} Summary: Restart daemons after library updates License: GPL-2.0-only Group: System/Management URL: https://fiasko.io/tag/needrestart.html Source: https://github.com/liske/needrestart/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch BuildRequires: gettext-tools BuildRequires: make BuildRequires: perl-ExtUtils-MakeMaker BuildRequires: perl-Module-Build BuildRequires: perl-Module-Find BuildRequires: perl-Module-ScanDeps BuildRequires: perl-Proc-ProcessTable BuildRequires: perl-Sort-Naturally BuildRequires: perl-Term-ProgressBar BuildRequires: perl-libintl-perl BuildRequires: perl-macros BuildRequires: pkgconfig(polkit-agent-1) Requires: gettext-runtime Requires: gettext-tools Requires: perl-ExtUtils-MakeMaker Requires: perl-Module-Find Requires: perl-Module-ScanDeps Requires: perl-Proc-ProcessTable Requires: perl-Sort-Naturally Requires: perl-Term-ProgressBar Requires: perl-gettext Requires: perl-libintl-perl Requires: polkit Recommends: iucode-tool Recommends: perl(Debconf::Client::ConfModule) %description NeedRestart checks which daemons need to be restarted after library upgrades. It is inspired by CheckRestart from the debian-goodies package. Features: - Supports (but does not require) systemd - Binary blacklisting (i.e. display managers) - Tries to detect required restarts of interpreter based daemons (supports Java, Perl, Python, Ruby) - Tries to detect required restarts of containers (Docker, LXC) - Tries to detect pending kernel upgrades - Tries to detect pending microcode upgrades for Intel CPUs - Could be used as Nagios check_command - Fully integrated into APT/DPKG using hooks %prep %autosetup -p1 -n "%{name}-%{version}" %build %make_build %install %make_install %perl_process_packlist mkdir -p "%{buildroot}/%{_mandir}/man1/" cp "man/needrestart.1" "%{buildroot}/%{_mandir}/man1/" %find_lang %{name} %find_lang needrestart-notify # Removing unneeded files rm -rf "%{buildroot}/%{perl_archlib}" %files %doc "README.md" "README.batch.md" "README.Cont.md" "README.Interp.md" %doc "README.nagios.md" "README.uCode.md" "NEWS" "ChangeLog" "AUTHORS" %config(noreplace) "%{_sysconfdir}/%{name}" "%{_sbindir}/%{name}" %{perl_vendorlib}/* %dir "%{_prefix}/lib/%{name}/" %{_prefix}/lib/%{name}/* %dir "%{_datadir}/locale/" %{_datadir}/locale/* %dir "%{_datadir}/polkit-1" %dir "%{_datadir}/polkit-1/actions" "%{_datadir}/polkit-1/actions/net.fiasko-nw.needrestart.policy" "%{_mandir}/man1/needrestart.1.gz" %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor