1 # define gittag f8a22bfb
2 %define replace_mkinitrd
0
6 Release: 1.git
%{gittag}%{?dist}
7 %define dashgittag
-%{gittag}
11 Summary: Initramfs generator using udev
12 Group: System Environment
/Base
14 URL: http
://fedoraproject.org
/wiki
/Initrdrewrite
15 Source0: dracut
-%{version}%{?dashgittag}.tar.bz2
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
19 Requires: cryptsetup
-luks
20 Requires: module
-init
-tools
22 Requires: device
-mapper
29 %if 0%{?replace_mkinitrd}
30 Obsoletes
: mkinitrd
< 7.0
31 Provides: mkinitrd
= 7.0
35 dracut is an attempt to build a new
, event
-driven initramfs infrastructure
40 %setup -q
-n
%{name}-%{version}%{?dashgittag}
47 rm -rf $RPM_BUILD_ROOT
48 make install DESTDIR
=$RPM_BUILD_ROOT
50 %if 0%{?replace_mkinitrd}
51 ln
-s dracut $RPM_BUILD_ROOT
/sbin
/mkinitrd
52 ln
-s dracut
/dracut
-functions $RPM_BUILD_ROOT
/usr
/libexec
/initrd
-functions
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(-,root
,root
,-)
60 %doc README HACKING TODO COPYING
62 %if 0%{?replace_mkinitrd}
64 /usr
/libexec
/initrd
-functions
67 /usr
/lib
/dracut
/dracut
-functions
68 /usr
/lib
/dracut
/modules.d
69 %config(noreplace
) /etc
/dracut.conf
73 * Thu Dec
18 2008 Jeremy Katz
<katzj@redhat.com
> - 0.0-1.gitc0815e4e
%{?dist}