summaryrefslogtreecommitdiff
path: root/packaging/Fedora
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-10-17 16:58:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:01 -0500
commite19ea8f2473147dd94c32b82e99dc2fe282a6cbf (patch)
tree8307b208c941563e6f236864ea6a3e1f69dcf6c3 /packaging/Fedora
parentd77621c42583a8294bbfffac2df7e6a0f5b26348 (diff)
downloadsamba-e19ea8f2473147dd94c32b82e99dc2fe282a6cbf.tar.gz
samba-e19ea8f2473147dd94c32b82e99dc2fe282a6cbf.tar.bz2
samba-e19ea8f2473147dd94c32b82e99dc2fe282a6cbf.zip
r11126: adding libmsrpc to solaris, redhat, and fedora packaging
(This used to be commit c3bb9f6514eba302929bb7c8edea396a547bdf28)
Diffstat (limited to 'packaging/Fedora')
-rw-r--r--packaging/Fedora/samba.spec.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/Fedora/samba.spec.tmpl b/packaging/Fedora/samba.spec.tmpl
index bd403fc9dc..27b8e277f4 100644
--- a/packaging/Fedora/samba.spec.tmpl
+++ b/packaging/Fedora/samba.spec.tmpl
@@ -196,6 +196,14 @@ install -m 755 source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.
install -m 644 source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.*
+# make install puts libmsrpc.so in the wrong place on x86_64
+rm -f $RPM_BUILD_ROOT/usr/lib || true
+mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
+install -m 755 source/bin/libmsrpc.so $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so
+install -m 755 source/bin/libmsrpc.a $RPM_BUILD_ROOT%{_libdir}/libmsrpc.a
+install -m 644 source/include/libmsrpc.h $RPM_BUILD_ROOT%{_includedir}
+rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libmsrpc.*
+
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat