Fix build

This commit is contained in:
Bill Nottingham 2012-12-07 16:25:30 -05:00
parent ce34f2bef7
commit 842dab63cc
4 changed files with 32 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
/initscripts-9.42.tar.bz2
/initscripts-9.43.tar.bz2

30
65173d7.patch Normal file
View File

@ -0,0 +1,30 @@
commit 65173d72f1a662a8596aa0e14232556ba40e452f (origin/master, origin/HEAD, master)
Author: Bill Nottingham <notting@redhat.com>
Date: Fri Dec 7 16:21:59 2012 -0500
Fix build.
diff --git a/Makefile b/Makefile
index 1c6bce8..c6fc7a0 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ install:
install -m644 adjtime $(ROOT)/etc
install -m644 inittab $(ROOT)/etc
install -m644 rwtab statetab networks $(ROOT)/etc
+ install -m755 service $(ROOT)/sbin
install -m644 lang.csh lang.sh $(ROOT)/etc/profile.d
install -m644 term256.csh term256.sh $(ROOT)/etc/profile.d
install -m644 debug.csh debug.sh $(ROOT)/etc/profile.d
diff --git a/initscripts.spec b/initscripts.spec
index ce34c7f..c7f3a1c 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -175,7 +175,6 @@ rm -rf $RPM_BUILD_ROOT
%exclude /etc/profile.d/debug*
/etc/profile.d/*
/usr/sbin/sys-unconfig
-/sbin/setsysfont
/bin/ipcalc
/bin/usleep
%attr(4755,root,root) /usr/sbin/usernetctl

View File

@ -32,6 +32,7 @@ Requires(pre): /usr/sbin/groupadd
Requires(post): /sbin/chkconfig, coreutils
Requires(preun): /sbin/chkconfig
BuildRequires: glib2-devel popt-devel gettext pkgconfig
Patch1: 65173d7.patch
%description
The initscripts package contains the basic system scripts used to boot
@ -52,6 +53,7 @@ Currently, this consists of various memory checking code.
%prep
%setup -q
%patch1 -p1
%build
make
@ -175,7 +177,6 @@ rm -rf $RPM_BUILD_ROOT
%exclude /etc/profile.d/debug*
/etc/profile.d/*
/usr/sbin/sys-unconfig
/sbin/setsysfont
/bin/ipcalc
/bin/usleep
%attr(4755,root,root) /usr/sbin/usernetctl

View File

@ -1,2 +1 @@
d5bde672cc94973cd8af8ac0354dbe8f initscripts-9.42.tar.bz2
a225c9b7b0786e395b38a4d919e7d72f initscripts-9.43.tar.bz2