|
rdobuilder |
686c2a |
Name: dumb-init
|
|
rdobuilder |
686c2a |
Version: 1.2.5
|
|
rdobuilder |
686c2a |
Release: 12%{?dist}
|
|
rdobuilder |
686c2a |
Summary: Entry-point for containers that proxies signals
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
License: MIT
|
|
rdobuilder |
686c2a |
URL: https://github.com/Yelp/dumb-init
|
|
rdobuilder |
686c2a |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
# pytest 7.2.0+ no longer installs the "py" library,
|
|
rdobuilder |
686c2a |
# which is used by dumb-init's test suite.
|
|
rdobuilder |
686c2a |
# Backported from upstream commit: https://github.com/Yelp/dumb-init/commit/b1a2551ad3c909384d97bca914f7c42cfdcdbf05
|
|
rdobuilder |
686c2a |
Patch0: 0000-update-for-pytest-7.2.0.patch
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
BuildRequires: gcc
|
|
rdobuilder |
686c2a |
BuildRequires: help2man
|
|
rdobuilder |
686c2a |
BuildRequires: make
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
BuildRequires: python3
|
|
rdobuilder |
686c2a |
BuildRequires: python3-pytest
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
%description
|
|
rdobuilder |
686c2a |
dumb-init is a simple process supervisor and init system designed to run as
|
|
rdobuilder |
686c2a |
PID 1 inside minimal container environments (such as Podman and Docker).
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* It can handle orphaned zombie processes.
|
|
rdobuilder |
686c2a |
* It can pass signals properly for simple containers.
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
%prep
|
|
rdobuilder |
686c2a |
%autosetup -p1
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
%build
|
|
rdobuilder |
686c2a |
gcc -std=gnu99 %{optflags} -o %{name} dumb-init.c
|
|
rdobuilder |
686c2a |
help2man --no-discard-stderr --include debian/help2man --no-info --name '%{summary}' ./%{name} > %{name}.1
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
%check
|
|
rdobuilder |
686c2a |
PATH=.:$PATH timeout --signal=KILL 60 pytest-3 -vv tests/
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
%install
|
|
rdobuilder |
686c2a |
install -Dpm0755 %{name} %{buildroot}%{_bindir}/%{name}
|
|
rdobuilder |
686c2a |
install -Dpm0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
%files
|
|
rdobuilder |
686c2a |
%{_bindir}/%{name}
|
|
rdobuilder |
686c2a |
%{_mandir}/man1/%{name}.1*
|
|
rdobuilder |
686c2a |
%license LICENSE
|
|
rdobuilder |
686c2a |
%doc README.md
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
%changelog
|
|
rdobuilder |
686c2a |
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-12
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-11
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-10
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-9
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-8
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Jan 04 2023 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.2.5-7
|
|
rdobuilder |
686c2a |
- Remove build-time dependency on python3-mock (https://fedoraproject.org/wiki/Changes/DeprecatePythonMock)
|
|
rdobuilder |
686c2a |
- Remove EPEL7-specific parts of the spec
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Sat Nov 12 2022 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.2.5-6
|
|
rdobuilder |
686c2a |
- Add a patch to make test suite work properly with pytest 7.2.0+
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-4
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-3
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-2
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Sun Dec 13 2020 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.2.5-1
|
|
rdobuilder |
686c2a |
- Update to v1.2.5
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Tue Dec 08 2020 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.2.4-1
|
|
rdobuilder |
686c2a |
- Update to v1.2.4
|
|
rdobuilder |
686c2a |
- Drop Patch0 (longer sleep in tests - backport from upstream)
|
|
rdobuilder |
686c2a |
- Drop Patch1 (missing NUL-terminator - issue fixed upstream)
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Mon Nov 30 2020 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.2.2-9
|
|
rdobuilder |
686c2a |
- Add a patch to fix random test failures due to non-NUL-terminated strings
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-8
|
|
rdobuilder |
686c2a |
- Second attempt - Rebuilt for
|
|
rdobuilder |
686c2a |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-7
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-6
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Tue Nov 19 2019 Muayyad Alsadi <alsadi@gmail.com> - 1.2.2-5
|
|
rdobuilder |
686c2a |
- fix rpmlint about a comment
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Tue Nov 19 2019 Muayyad Alsadi <alsadi@gmail.com> - 1.2.2-4
|
|
rdobuilder |
686c2a |
- enable tests
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Thu Nov 14 2019 Muayyad Alsadi <alsadi@gmail.com> - 1.2.2-3
|
|
rdobuilder |
686c2a |
- disable tests
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Thu Nov 14 2019 Muayyad Alsadi <alsadi@gmail.com> - 1.2.2-2
|
|
rdobuilder |
686c2a |
- latest 1.2.2, use python3 to run test
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-18
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-17
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-16
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.3-15
|
|
rdobuilder |
686c2a |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
686c2a |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-14
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-13
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-12
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-11
|
|
rdobuilder |
686c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Aug 31 2016 Muayyad Alsadi <alsadi@gmail.com> - 1.1.3-10
|
|
rdobuilder |
686c2a |
- revert to python2
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Aug 31 2016 Muayyad Alsadi <alsadi@gmail.com> - 1.1.3-9
|
|
rdobuilder |
686c2a |
- support epel
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Fri Aug 26 2016 Muayyad Alsadi <alsadi@gmail.com> - 1.1.3-8
|
|
rdobuilder |
686c2a |
- run tests
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Aug 17 2016 Muayyad Alsadi <alsadi@gmail.com> - 1.1.3-7
|
|
rdobuilder |
686c2a |
- let manpage automatically marked as document
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Aug 17 2016 Muayyad Alsadi <alsadi@gmail.com> - 1.1.3-6
|
|
rdobuilder |
686c2a |
- remove gzip after help2man
|
|
rdobuilder |
686c2a |
- add missing BuildRequire
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Aug 17 2016 Muayyad Alsadi <alsadi@gmail.com> - 1.1.3-4
|
|
rdobuilder |
686c2a |
- install 644 for manpage
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Wed Aug 17 2016 Muayyad Alsadi <alsadi@gmail.com> - 1.1.3-3
|
|
rdobuilder |
686c2a |
- remove vim-common and use install
|
|
rdobuilder |
686c2a |
|
|
rdobuilder |
686c2a |
* Mon Aug 15 2016 Muayyad Alsadi <alsadi@gmail.com> - 1.1.3-2
|
|
rdobuilder |
686c2a |
- initial packaging
|