* [PATCH] fixes for specfile and Makefile
@ 2009-03-04 13:48 Harald Hoyer
0 siblings, 0 replies; only message in thread
From: Harald Hoyer @ 2009-03-04 13:48 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0003-fixes-for-specfile-and-Makefile.patch --]
[-- Type: text/plain, Size: 2122 bytes --]
From aef710e6c8b749e0931ef5eed5e8588ea83005ea Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date: Wed, 4 Mar 2009 14:23:02 +0100
Subject: [PATCH] fixes for specfile and Makefile
---
Makefile | 6 +++---
dracut.spec | 11 +++++++----
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 9441bbe..96cc15c 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,9 @@ install: all
install -m 0755 switch_root $(DESTDIR)/usr/libexec/dracut/switch_root
install -m 0755 dracut-functions $(DESTDIR)/usr/libexec/dracut/functions
mkdir $(DESTDIR)/usr/libexec/dracut/rules.d
- for rule in rules.d/*.rules ; do install -m 0644 $$rule $(DESTDIR)/usr/libexec/dracut ; done
- for hook in hooks/*.sh ; do install -m 0755 $$hook $(DESTDIR)/usr/libexec/dracut ; done
- for module in modules/*.sh; do install -m 0755 $$module $(DESTDIR)/usr/libexec/dracut ; done
+ for rule in rules.d/*.rules ; do install -m 0644 $$rule $(DESTDIR)/usr/libexec/dracut/rules.d ; done
+ for hook in hooks/*.sh ; do install -m 0755 $$hook $(DESTDIR)/usr/libexec/dracut/hooks ; done
+ for module in modules/*.sh; do install -m 0755 $$module $(DESTDIR)/usr/libexec/dracut/modules ; done
clean:
rm -f *~
rm -f switch_root
diff --git a/dracut.spec b/dracut.spec
index 04590cd..ec19f1b 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -1,4 +1,4 @@
-%define gittag c0815e4e
+%define gittag 711c732b
Name: dracut
Version: 0.0
Release: 1.git%{gittag}%{?dist}
@@ -22,7 +22,6 @@ Requires: mount
Requires: bash
Obsoletes: mkinitrd < 7.0
Provides: mkinitrd = 7.0
-BuildArch: noarch
%description
dracut is an attempt to build a new, event-driven initramfs infrastructure
@@ -59,8 +58,12 @@ rm -rf $RPM_BUILD_ROOT
/usr/libexec/dracut/functions
/usr/libexec/dracut/init
/usr/libexec/dracut/switch_root
-/usr/libexec/dracut/rules.d
-
+%dir /usr/libexec/dracut/rules.d
+/usr/libexec/dracut/rules.d/*.rules
+%dir /usr/libexec/dracut/modules
+/usr/libexec/dracut/modules/*.sh
+%dir /usr/libexec/dracut/hooks
+/usr/libexec/dracut/hooks/*.sh
%changelog
--
1.6.0.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-04 13:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 13:48 [PATCH] fixes for specfile and Makefile Harald Hoyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox