@ -33,7 +33,7 @@ License: GPLv2+ and LGPLv2+
URL: https://dracut.wiki.kernel.org/
URL: https://dracut.wiki.kernel.org/
# Source can be generated by
# Source can be generated by
# http://git.kernel.org/?p=boot/dracut/dracut.git;a=snapshot;h=%{version};sf=tgz
# http://git.kernel.org/?p=boot/dracut/dracut.git;a=snapshot;h=%%{version};sf=tgz
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
@ -68,10 +68,10 @@ BuildRequires: asciidoc
%if 0%{?fedora} > 12 || 0%{?rhel}
%if 0%{?fedora} > 12 || 0%{?rhel}
# no "provides", because dracut does not offer
# no "provides", because dracut does not offer
# all functionality of the obsoleted packages
# all functionality of the obsoleted packages
Obsoletes: mkinitrd <= 6.0.93
Obsoletes: mkinitrd < 6.0.94
Obsoletes: mkinitrd-devel <= 6.0.93
Obsoletes: mkinitrd-devel < 6.0.94
Obsoletes: nash <= 6.0.93
Obsoletes: nash < 6.0.94
Obsoletes: libbdevid-python <= 6.0.93
Obsoletes: libbdevid-python < 6.0.94
%endif
%endif
%if 0%{?fedora} > 16 || 0%{?rhel} > 6
%if 0%{?fedora} > 16 || 0%{?rhel} > 6
@ -86,9 +86,9 @@ Provides: mkinitrd = 2.6.1
Obsoletes: dracut-kernel < 005
Obsoletes: dracut-kernel < 005
Provides: dracut-kernel = %{version}-%{release}
Provides: dracut-kernel = %{version}-%{release}
Obsoletes: dracut <= 029
Obsoletes: dracut < 030
Obsoletes: dracut-norescue
Obsoletes: dracut-norescue < 030
Provides: dracut-norescue
Provides: dracut-norescue = %{version}-%{release}
Requires: bash >= 4
Requires: bash >= 4
Requires: coreutils
Requires: coreutils
@ -195,8 +195,8 @@ initramfs with dracut, with live image capabilities, like Live CDs.
%package config-generic
%package config-generic
Summary: dracut configuration to turn off hostonly image generation
Summary: dracut configuration to turn off hostonly image generation
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Obsoletes: dracut-nohostonly
Obsoletes: dracut-nohostonly < 030
Provides: dracut-nohostonly
Provides: dracut-nohostonly = %{version}-%{release}
%description config-generic
%description config-generic
This package provides the configuration to turn off the host specific initramfs
This package provides the configuration to turn off the host specific initramfs
@ -205,7 +205,7 @@ generation with dracut and generates a generic image by default.
%package config-rescue
%package config-rescue
Summary: dracut configuration to turn on rescue image generation
Summary: dracut configuration to turn on rescue image generation
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Obsoletes: dracut <= 029
Obsoletes: dracut < 030
%description config-rescue
%description config-rescue
This package provides the configuration to turn on the rescue initramfs
This package provides the configuration to turn on the rescue initramfs