Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:martux69
needrestart
needrestart.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File needrestart.spec of Package needrestart
# # spec file for package needrestart # # Copyright (c) 2023 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: 1%{?dist} Summary: Restart daemons after library updates License: GPL-2.0-only Group: System/Management URL: https://fiasko.io/tag/needrestart.html Source0: https://github.com/liske/needrestart/archive/refs/tags/v%{version}.tar.gz Source1: restart.d__auditd.service 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: polkit 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 %{?_smp_mflags} %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 # useless files rm -rf %{buildroot}/%{perl_archlib} # workaround for https://github.com/liske/needrestart/issues/75 cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name}/restart.d/auditd.service chmod a+x %{buildroot}/%{_sysconfdir}/%{name}/restart.d/auditd.service %files %doc README.md README.batch.md README.Cont.md README.Interp.md README.nagios.md README.uCode.md NEWS ChangeLog AUTHORS %dir %{_sysconfdir} %config(noreplace) %{_sysconfdir}/%{name} %dir %{_sbindir} %{_sbindir}/%{name} %{perl_vendorlib}/* %{perl_vendorlib}/NeedRestart %{perl_vendorlib}/NeedRestart.pm %dir %{_prefix}/lib %{_prefix}/lib/%{name} %dir %{_datadir}/locale %{_datadir}/locale/*/LC_MESSAGES %dir %{_datadir}/polkit-1 %dir %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/net.fiasko-nw.needrestart.policy %{_mandir}/man1/needrestart.1* %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