update to latest git
This commit is contained in:
parent
d45cf711c8
commit
7a7caeeb55
19
dracut.spec
19
dracut.spec
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: dracut
|
Name: dracut
|
||||||
Version: 015
|
Version: 015
|
||||||
Release: 7.git20120209%{?dist}
|
Release: 8.git20120210%{?dist}
|
||||||
|
|
||||||
Summary: Initramfs generator using udev
|
Summary: Initramfs generator using udev
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 6
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
||||||
@ -30,10 +30,12 @@ Patch3: 0003-lsinitrd-silence-xz-test.patch
|
|||||||
Patch4: 0004-dracut-honor-binaries-in-sbin-first.patch
|
Patch4: 0004-dracut-honor-binaries-in-sbin-first.patch
|
||||||
Patch5: 0005-98usrmount-mount-usr.sh-remove-extra-slash.patch
|
Patch5: 0005-98usrmount-mount-usr.sh-remove-extra-slash.patch
|
||||||
Patch6: 0006-99shutdown-shutdown-don-t-do-console_init-on-shutdow.patch
|
Patch6: 0006-99shutdown-shutdown-don-t-do-console_init-on-shutdow.patch
|
||||||
|
Patch7: 0007-Backup-and-restore-run-initramfs-via-systemd-service.patch
|
||||||
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: dash bash git
|
BuildRequires: dash bash git
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 6
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
%endif
|
%endif
|
||||||
@ -58,6 +60,10 @@ Obsoletes: nash <= 6.0.93
|
|||||||
Obsoletes: libbdevid-python <= 6.0.93
|
Obsoletes: libbdevid-python <= 6.0.93
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} > 16 || 0%{?rhel} > 6
|
||||||
|
BuildRequires: systemd-units
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} > 9999
|
%if 0%{?suse_version} > 9999
|
||||||
Obsoletes: mkinitrd < 2.6.1
|
Obsoletes: mkinitrd < 2.6.1
|
||||||
Provides: mkinitrd = 2.6.1
|
Provides: mkinitrd = 2.6.1
|
||||||
@ -168,7 +174,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT \
|
make install DESTDIR=$RPM_BUILD_ROOT \
|
||||||
libdir=%{_prefix}/lib \
|
libdir=%{_prefix}/lib \
|
||||||
bindir=%{_bindir} \
|
bindir=%{_bindir} \
|
||||||
sysconfdir=/etc mandir=%{_mandir}
|
sysconfdir=/etc mandir=%{_mandir} \
|
||||||
|
systemdsystemunitdir=%{_unitdir}
|
||||||
|
|
||||||
echo %{name}-%{version}-%{release} > $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/10rpmversion/dracut-version
|
echo %{name}-%{version}-%{release} > $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/10rpmversion/dracut-version
|
||||||
|
|
||||||
@ -224,6 +231,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{dracutlibdir}/modules.d
|
%dir %{dracutlibdir}/modules.d
|
||||||
%{dracutlibdir}/dracut-functions
|
%{dracutlibdir}/dracut-functions
|
||||||
%{dracutlibdir}/dracut-logger
|
%{dracutlibdir}/dracut-logger
|
||||||
|
%{dracutlibdir}/dracut-initramfs-backup
|
||||||
%config(noreplace) /etc/dracut.conf
|
%config(noreplace) /etc/dracut.conf
|
||||||
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} > 6
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} > 6
|
||||||
%config /etc/dracut.conf.d/01-dist.conf
|
%config /etc/dracut.conf.d/01-dist.conf
|
||||||
@ -273,6 +281,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace) /etc/logrotate.d/dracut_log
|
%config(noreplace) /etc/logrotate.d/dracut_log
|
||||||
%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
|
%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
|
||||||
%dir %{_sharedstatedir}/initramfs
|
%dir %{_sharedstatedir}/initramfs
|
||||||
|
%if 0%{?fedora} > 16 || 0%{?rhel} > 6
|
||||||
|
%{_unitdir}/*.service
|
||||||
|
%{_unitdir}/*/*.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%files network
|
%files network
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
@ -313,6 +325,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir /var/lib/dracut/overlay
|
%dir /var/lib/dracut/overlay
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 10 2012 Harald Hoyer <harald@redhat.com> 015-8.git20120210
|
||||||
|
- update to latest git
|
||||||
|
|
||||||
* Thu Feb 09 2012 Harald Hoyer <harald@redhat.com> 015-7.git20120209
|
* Thu Feb 09 2012 Harald Hoyer <harald@redhat.com> 015-7.git20120209
|
||||||
- update to latest git
|
- update to latest git
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user