summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-03-05 18:05:34 -0500
committerWill Woods <wwoods@redhat.com>2009-03-05 18:05:34 -0500
commit87db0232f329e722f9f8cd97ec50285b14069f04 (patch)
tree787a4d4f72f2d5e8a376a64fe8e894287de5d83c
parentc9e5a68ad5f6febaed4093817fcce2b9a8d80a5b (diff)
downloaddebuginfofs-87db0232f329e722f9f8cd97ec50285b14069f04.zip
debuginfofs-87db0232f329e722f9f8cd97ec50285b14069f04.tar.gz
debuginfofs-87db0232f329e722f9f8cd97ec50285b14069f04.tar.xz
Rearrange files a bit, and add Requires(post/preun) for semanage
-rw-r--r--client/davfs2-debuginfofs.conf (renamed from davfs2-debuginfofs.conf)0
-rwxr-xr-xclient/debuginfofs.init (renamed from debuginfofs.init)0
-rw-r--r--client/debuginfofs.sysconfig (renamed from debuginfofs.sysconfig)0
-rw-r--r--debuginfofs.spec18
-rw-r--r--server/dav-debuginfo.conf (renamed from dav-debuginfo.conf)0
-rwxr-xr-xserver/debuginfofs-mirror (renamed from debuginfofs-mirror)0
-rwxr-xr-xserver/debuginfofs-server.init (renamed from debuginfofs-server.init)0
-rw-r--r--server/debuginfofs.conf (renamed from debuginfofs.conf)0
-rwxr-xr-xserver/repofs.py (renamed from repofs.py)0
9 files changed, 10 insertions, 8 deletions
diff --git a/davfs2-debuginfofs.conf b/client/davfs2-debuginfofs.conf
index 94fe118..94fe118 100644
--- a/davfs2-debuginfofs.conf
+++ b/client/davfs2-debuginfofs.conf
diff --git a/debuginfofs.init b/client/debuginfofs.init
index e8d63f2..e8d63f2 100755
--- a/debuginfofs.init
+++ b/client/debuginfofs.init
diff --git a/debuginfofs.sysconfig b/client/debuginfofs.sysconfig
index 0ff5f48..0ff5f48 100644
--- a/debuginfofs.sysconfig
+++ b/client/debuginfofs.sysconfig
diff --git a/debuginfofs.spec b/debuginfofs.spec
index 5d82db0..d289304 100644
--- a/debuginfofs.spec
+++ b/debuginfofs.spec
@@ -25,7 +25,9 @@ Summary: Server setup for debuginfofs
Group: Development/Debuggers
Requires: rpm cpio httpd
Requires(post): chkconfig
+Requires(post): policycoreutils
Requires(preun): chkconfig
+Requires(preun): policycoreutils
Requires(preun): initscripts
Requires(postun): initscripts
@@ -42,18 +44,18 @@ Server tools and config files for running a debuginfofs server
%install
rm -rf $RPM_BUILD_ROOT
# client
-install -D -m 0755 debuginfofs.init $RPM_BUILD_ROOT%{_initrddir}/debuginfofs
-install -D -m 0644 debuginfofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/debuginfofs
-install -D -m 0644 davfs2-debuginfofs.conf $RPM_BUILD_ROOT/etc/davfs2/debuginfofs.conf
+install -D -m 0755 client/debuginfofs.init $RPM_BUILD_ROOT%{_initrddir}/debuginfofs
+install -D -m 0644 client/debuginfofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/debuginfofs
+install -D -m 0644 client/davfs2-debuginfofs.conf $RPM_BUILD_ROOT/etc/davfs2/debuginfofs.conf
# server
mkdir -p $RPM_BUILD_ROOT{/usr/share/debuginfofs,/usr/sbin}
mkdir -p $RPM_BUILD_ROOT/var/{www,cache}/debuginfofs
-install -m 0755 debuginfofs-mirror $RPM_BUILD_ROOT/usr/sbin
#uncomment when this is ready
-#install -m 0755 repofs.py $RPM_BUILD_ROOT/usr/sbin
-install -m 0644 debuginfofs.conf $RPM_BUILD_ROOT/etc
-install -m 0644 dav-debuginfo.conf $RPM_BUILD_ROOT/usr/share/debuginfofs
-install -m 0755 debuginfofs-server.init $RPM_BUILD_ROOT%{_initrddir}/debuginfofs-server
+#install -m 0755 server/repofs.py $RPM_BUILD_ROOT/usr/sbin
+install -m 0755 server/debuginfofs-mirror $RPM_BUILD_ROOT/usr/sbin
+install -m 0644 server/debuginfofs.conf $RPM_BUILD_ROOT/etc
+install -m 0644 server/dav-debuginfo.conf $RPM_BUILD_ROOT/usr/share/debuginfofs
+install -m 0755 server/debuginfofs-server.init $RPM_BUILD_ROOT%{_initrddir}/debuginfofs-server
%clean
diff --git a/dav-debuginfo.conf b/server/dav-debuginfo.conf
index c66d3b9..c66d3b9 100644
--- a/dav-debuginfo.conf
+++ b/server/dav-debuginfo.conf
diff --git a/debuginfofs-mirror b/server/debuginfofs-mirror
index 695cef2..695cef2 100755
--- a/debuginfofs-mirror
+++ b/server/debuginfofs-mirror
diff --git a/debuginfofs-server.init b/server/debuginfofs-server.init
index ac294bc..ac294bc 100755
--- a/debuginfofs-server.init
+++ b/server/debuginfofs-server.init
diff --git a/debuginfofs.conf b/server/debuginfofs.conf
index 29e2f40..29e2f40 100644
--- a/debuginfofs.conf
+++ b/server/debuginfofs.conf
diff --git a/repofs.py b/server/repofs.py
index 6a0259b..6a0259b 100755
--- a/repofs.py
+++ b/server/repofs.py