This commit is contained in:
Jan Macku 2021-08-26 12:01:42 +02:00
parent e8db6a338d
commit 063292249b
3 changed files with 54 additions and 7 deletions

1
.gitignore vendored
View File

@ -46,3 +46,4 @@
/initscripts-10.07.tar.gz
/initscripts-10.08.tar.gz
/initscripts-10.09.tar.gz
/initscripts-10.10.tar.gz

View File

@ -18,8 +18,8 @@ Requires: gawk \
Name: initscripts
Summary: Basic support for legacy System V init scripts
Version: 10.09
Release: 2%{?dist}
Version: 10.10
Release: 1%{?dist}
License: GPLv2
@ -34,6 +34,8 @@ Requires: procps-ng
Requires: setup
Requires: systemd
Requires: util-linux
Requires: chkconfig
Recommends: initscripts-service
Requires(pre): shadow-utils
Requires(post): coreutils
@ -51,8 +53,6 @@ BuildRequires: make
%{?systemd_requires}
BuildRequires: systemd
Provides: /sbin/service
Obsoletes: %{name} < 9.82-2
# === PATCHES =================================================================
@ -89,6 +89,23 @@ other legacy tools & utilities.
# === SUBPACKAGES =============================================================
%package -n initscripts-service
Summary: Support for service command
BuildArch: noarch
%shared_requirements
Requires: systemd
Provides: /sbin/service
Obsoletes: %{name} < 9.82-2
%description -n initscripts-service
This package provides service command.
# ---------------
%package -n network-scripts
Summary: Legacy scripts for manipulating of network devices
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -115,6 +132,12 @@ Requires(postun): %{_sbindir}/update-alternatives
Obsoletes: %{name} < 9.82-2
# This is legacy and deprecated, so nobody should depend on this!
# If ifcfg-style configuration is still desired, NetworkManager can do this.
# Thus, mark this as deprecated to ensure people know to not depend on it.
# Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/
Provides: deprecated()
%description -n network-scripts
This package contains the legacy scripts for activating & deactivating of most
network interfaces. It also provides a legacy version of 'network' service.
@ -292,7 +315,6 @@ fi
%{_bindir}/*
%{_sbindir}/consoletype
%{_sbindir}/genhostid
%{_sbindir}/service
%{_libexecdir}/import-state
%{_libexecdir}/loadmodules
@ -304,10 +326,20 @@ fi
%{_udevrulesdir}/*
%{_mandir}/man1/*
%{_mandir}/man8/service.*
# =============================================================================
%files -n initscripts-service
%dir %{_libexecdir}/%{name}
%dir %{_libexecdir}/%{name}/legacy-actions
%{_sbindir}/service
%{_mandir}/man8/service.*
# ---------------
%files -n network-scripts
%doc doc/examples/
%dir %{_sysconfdir}/sysconfig/network-scripts
@ -351,6 +383,20 @@ fi
# =============================================================================
%changelog
* Thu Aug 26 2021 Jan Macku <jamacku@redhat.com> - 10.10-1
- Translated using Weblate (Friulian) (#381)
- Translations update from Weblate (#378)
- added veth support
- ifup-eth: add a new PERSISTENT_DHCLIENT_IPV6 option for IPv6 dhclient daemon
- ifdown removes veth pair if both peers are down
- rename_device: also support dracut-style kernel cmdline configuration
- spec: Mark network-scripts as deprecated
- spec: Initscripts now requires chkconfig (#374)
- Translations update from Weblate (#371)
- spec: Move service script into subpackage
- ci: Onboard initscripts to Packit
- ci: Migrate from Travis to GH Actions
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 10.09-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (initscripts-10.09.tar.gz) = c8047d02565cbb166b76ce00c893b3a08d0e755fbaf16d11bc3b3a52ce305dd6968e7719b623e81645bece43eb2ed91f54079b10a8bdf02acbe5309062e4cb19
SHA512 (initscripts-10.10.tar.gz) = c406e9fdda734ea1a4d37767cd5aa54223e4d0cea72a8eaca8e9ee2ae142dfd6ac25d5b3cbd07dbe0e50200bb69b17bf53d109580dfa7ab5e64e8a08ecf13c69