Resolves: #2057917
This commit is contained in:
Jan Macku 2022-02-24 09:51:52 +01:00
parent 3b0266956e
commit 11f34737af
3 changed files with 29 additions and 8 deletions

1
.gitignore vendored
View File

@ -50,3 +50,4 @@
/initscripts-10.11.tar.gz /initscripts-10.11.tar.gz
/initscripts-10.11.1.tar.gz /initscripts-10.11.1.tar.gz
/initscripts-10.11.2.tar.gz /initscripts-10.11.2.tar.gz
/initscripts-10.11.3.tar.gz

View File

@ -18,7 +18,7 @@ Requires: gawk \
Name: initscripts Name: initscripts
Summary: Basic support for legacy System V init scripts Summary: Basic support for legacy System V init scripts
Version: 10.11.2 Version: 10.11.3
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2 License: GPLv2
@ -36,6 +36,7 @@ Requires: systemd
Requires: util-linux Requires: util-linux
Requires: chkconfig Requires: chkconfig
Requires: initscripts-service Requires: initscripts-service
Requires: initscripts-rename-device
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires(post): coreutils Requires(post): coreutils
@ -53,7 +54,7 @@ BuildRequires: make
%{?systemd_requires} %{?systemd_requires}
BuildRequires: systemd BuildRequires: systemd
Obsoletes: %{name} < 10.10-1 Obsoletes: %{name} < 10.16-1
# === PATCHES ================================================================= # === PATCHES =================================================================
@ -89,6 +90,16 @@ other legacy tools & utilities.
# === SUBPACKAGES ============================================================= # === SUBPACKAGES =============================================================
%package -n initscripts-rename-device
Summary: Udev helper utility that provides network interface naming
%shared_requirements
%description -n initscripts-rename-device
Udev helper utility that provides network interface naming
# ---------------
%package -n initscripts-service %package -n initscripts-service
Summary: Support for service command Summary: Support for service command
BuildArch: noarch BuildArch: noarch
@ -99,8 +110,6 @@ Requires: systemd
Provides: /sbin/service Provides: /sbin/service
Obsoletes: %{name} < 10.10-1
%description -n initscripts-service %description -n initscripts-service
This package provides service command. This package provides service command.
@ -321,14 +330,19 @@ fi
%{_prefix}/lib/systemd/system/import-state.service %{_prefix}/lib/systemd/system/import-state.service
%{_prefix}/lib/systemd/system/loadmodules.service %{_prefix}/lib/systemd/system/loadmodules.service
%{_prefix}/lib/udev/rename_device
%{_udevrulesdir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
# ============================================================================= # =============================================================================
%files -n initscripts-rename-device
%{_prefix}/lib/udev/rename_device
%{_udevrulesdir}/*
# ---------------
%files -n initscripts-service %files -n initscripts-service
%dir %{_libexecdir}/%{name} %dir %{_libexecdir}/%{name}
@ -383,6 +397,12 @@ fi
# ============================================================================= # =============================================================================
%changelog %changelog
* Thu Feb 24 2022 Jan Macku <jamacku@redhat.com> - 10.11.3-1
- Drop unnecessary obsoletes
- spec: Move rename_device to subpackage `initscripts-rename-device`
- ci: Update `.packit.yml` to run on `c9s`
- ci: Use Differential ShellCheck action
* Wed Jan 26 2022 Jan Macku <jamacku@redhat.com> - 10.11.2-1 * Wed Jan 26 2022 Jan Macku <jamacku@redhat.com> - 10.11.2-1
- ifup-routes: Revert quotes - ifup-routes: Revert quotes
- ifup-routes: Use `ip replace` only on type `route` - ifup-routes: Use `ip replace` only on type `route`

View File

@ -1 +1 @@
SHA512 (initscripts-10.11.2.tar.gz) = 1f62f917039d82ba239fbcc37e275eb5a915776876e9da61b8feb1561b6629eb2b87219b7a44e362fbe7e8d50bfa8d9bb1cd1c9faf8b5a49e31c46270c206914 SHA512 (initscripts-10.11.3.tar.gz) = f14d68ce6bcb384a264baf27ac1c0434aa4cd117f408ec3cdb42d5ae0dc8f1503f7a1cd183d63b9bc6ee0fb2cf38a43f8b053c0844daa6b347806e1bd59d0751