- version 004
- Resolves: rhbz#529339 rhbz#533494 rhbz#548550 - Resolves: rhbz#548555 rhbz#553195
This commit is contained in:
parent
318433bea6
commit
1b7b015fc7
@ -1 +1 @@
|
|||||||
dracut-003.tar.bz2
|
dracut-004.tar.bz2
|
||||||
|
40
dracut.spec
40
dracut.spec
@ -19,8 +19,8 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: dracut
|
Name: dracut
|
||||||
Version: 003
|
Version: 004
|
||||||
Release: 2%{?rdist}
|
Release: 1%{?rdist}
|
||||||
Summary: Initramfs generator using udev
|
Summary: Initramfs generator using udev
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -29,6 +29,16 @@ URL: http://apps.sourceforge.net/trac/dracut/wiki
|
|||||||
# http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=snapshot;h=%{?dashgittag};sf=tgz
|
# http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=snapshot;h=%{?dashgittag};sf=tgz
|
||||||
Source0: dracut-%{version}%{?dashgittag}.tar.bz2
|
Source0: dracut-%{version}%{?dashgittag}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
%if 0%{?fedora} > 12 || 0%{?rhel} >= 6
|
||||||
|
# no "provides", because dracut does not offer
|
||||||
|
# all functionality of the obsoleted packages
|
||||||
|
Obsoletes: mkinitrd <= 6.0.93
|
||||||
|
Obsoletes: mkinitrd-devel <= 6.0.93
|
||||||
|
Obsoletes: nash <= 6.0.93
|
||||||
|
Obsoletes: libbdevid-python <= 6.0.93
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: udev
|
Requires: udev
|
||||||
Requires: util-linux-ng
|
Requires: util-linux-ng
|
||||||
Requires: module-init-tools >= 3.7-9
|
Requires: module-init-tools >= 3.7-9
|
||||||
@ -48,8 +58,8 @@ Requires: lvm2 >= 2.02.33-9, dhclient
|
|||||||
Requires: filesystem >= 2.1.0, cpio, device-mapper, initscripts >= 8.63-1
|
Requires: filesystem >= 2.1.0, cpio, device-mapper, initscripts >= 8.63-1
|
||||||
Requires: e2fsprogs >= 1.38-12, libselinux, libsepol, coreutils
|
Requires: e2fsprogs >= 1.38-12, libselinux, libsepol, coreutils
|
||||||
Requires: mdadm, elfutils-libelf
|
Requires: mdadm, elfutils-libelf
|
||||||
Requires(pre): plymouth >= 0.7.0
|
Requires(pre): plymouth >= 0.8.0-0.2009.29.09.19.1
|
||||||
Requires: plymouth >= 0.7.0
|
Requires: plymouth >= 0.8.0-0.2009.29.09.19.1
|
||||||
Requires: cryptsetup-luks
|
Requires: cryptsetup-luks
|
||||||
Requires: file
|
Requires: file
|
||||||
Requires: bzip2
|
Requires: bzip2
|
||||||
@ -148,6 +158,11 @@ mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
|
||||||
touch $RPM_BUILD_ROOT%{_localstatedir}/log/dracut.log
|
touch $RPM_BUILD_ROOT%{_localstatedir}/log/dracut.log
|
||||||
|
|
||||||
|
%if 0%{?fedora} <= 12 && 0%{?rhel} < 6
|
||||||
|
rm $RPM_BUILD_ROOT/sbin/mkinitrd
|
||||||
|
rm $RPM_BUILD_ROOT/sbin/lsinitrd
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -158,6 +173,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%if 0%{?with_switch_root}
|
%if 0%{?with_switch_root}
|
||||||
/sbin/switch_root
|
/sbin/switch_root
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?fedora} > 12 || 0%{?rhel} >= 6
|
||||||
|
/sbin/mkinitrd
|
||||||
|
/sbin/lsinitrd
|
||||||
|
%endif
|
||||||
%dir %{_datadir}/dracut
|
%dir %{_datadir}/dracut
|
||||||
%{_datadir}/dracut/dracut-functions
|
%{_datadir}/dracut/dracut-functions
|
||||||
%config(noreplace) /etc/dracut.conf
|
%config(noreplace) /etc/dracut.conf
|
||||||
@ -167,6 +186,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/dracut/modules.d/10redhat-i18n
|
%{_datadir}/dracut/modules.d/10redhat-i18n
|
||||||
%{_datadir}/dracut/modules.d/10rpmversion
|
%{_datadir}/dracut/modules.d/10rpmversion
|
||||||
%{_datadir}/dracut/modules.d/50plymouth
|
%{_datadir}/dracut/modules.d/50plymouth
|
||||||
|
%{_datadir}/dracut/modules.d/60xen
|
||||||
%{_datadir}/dracut/modules.d/90crypt
|
%{_datadir}/dracut/modules.d/90crypt
|
||||||
%{_datadir}/dracut/modules.d/90dm
|
%{_datadir}/dracut/modules.d/90dm
|
||||||
%{_datadir}/dracut/modules.d/90dmraid
|
%{_datadir}/dracut/modules.d/90dmraid
|
||||||
@ -184,6 +204,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/dracut/modules.d/95znet
|
%{_datadir}/dracut/modules.d/95znet
|
||||||
%{_datadir}/dracut/modules.d/95terminfo
|
%{_datadir}/dracut/modules.d/95terminfo
|
||||||
%{_datadir}/dracut/modules.d/95udev-rules
|
%{_datadir}/dracut/modules.d/95udev-rules
|
||||||
|
%{_datadir}/dracut/modules.d/95uswsusp
|
||||||
%{_datadir}/dracut/modules.d/98syslog
|
%{_datadir}/dracut/modules.d/98syslog
|
||||||
%{_datadir}/dracut/modules.d/99base
|
%{_datadir}/dracut/modules.d/99base
|
||||||
%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
|
%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
|
||||||
@ -214,6 +235,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%doc COPYING NEWS
|
%doc COPYING NEWS
|
||||||
|
%{_mandir}/man8/dracut-gencmdline.8*
|
||||||
|
%{_mandir}/man8/dracut-catimages.8*
|
||||||
/sbin/dracut-gencmdline
|
/sbin/dracut-gencmdline
|
||||||
/sbin/dracut-catimages
|
/sbin/dracut-catimages
|
||||||
%dir /boot/dracut
|
%dir /boot/dracut
|
||||||
@ -221,6 +244,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir /var/lib/dracut/overlay
|
%dir /var/lib/dracut/overlay
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 15 2010 Harald Hoyer <harald@redhat.com> 004-1
|
||||||
|
- version 004
|
||||||
|
- Resolves: rhbz#529339 rhbz#533494 rhbz#548550
|
||||||
|
- Resolves: rhbz#548555 rhbz#553195
|
||||||
|
|
||||||
|
* Wed Jan 13 2010 Harald Hoyer <harald@redhat.com> 003-3
|
||||||
|
- add Obsoletes of mkinitrd/nash/libbdevid-python
|
||||||
|
- Related: rhbz#543948
|
||||||
|
|
||||||
* Wed Jan 13 2010 Warren Togami <wtogami@redhat.com> 003-2
|
* Wed Jan 13 2010 Warren Togami <wtogami@redhat.com> 003-2
|
||||||
- nbd is Fedora only
|
- nbd is Fedora only
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user