[packages/sheepdog] - updated BRs - package systemd unit file

qboosh qboosh at pld-linux.org
Wed Aug 26 16:09:58 CEST 2015


commit ab13bbecf2d4e6d0082fb79476a9adaef7bf1a0c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Aug 26 16:10:58 2015 +0200

    - updated BRs
    - package systemd unit file

 sheepdog.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/sheepdog.spec b/sheepdog.spec
index 782b3e6..dccbf5c 100644
--- a/sheepdog.spec
+++ b/sheepdog.spec
@@ -2,6 +2,8 @@
 # - more clusters support:
 #   - zookeeper (http://zookeeper.apache.org/) [-lzookeeper_mt, zookeeper.h]
 #   - accord (http://www.osrg.net/accord/ - available on github, no releases yet) [libacrd.pc]
+# - http request service (--enable-http)?
+# - nfs server service (--enable-nfs)?
 # - PLDify and register init script
 Summary:	Sheepdog - distributed storage system for QEMU/KVM
 Summary(pl.UTF-8):	Sheepdog - rozproszony system przechowywania danych dla QEMU/KVM
@@ -18,9 +20,11 @@ BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
 BuildRequires:	corosync-devel
 BuildRequires:	groff
-BuildRequires:	libfuse-devel
+BuildRequires:	libfuse-devel >= 2.8.0
 BuildRequires:	pkgconfig
 BuildRequires:	userspace-rcu-devel >= 0.6.0
+Requires:	libfuse >= 2.8.0
+Requires:	userspace-rcu >= 0.6.0
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -66,7 +70,8 @@ Bashowe dopełnianie składni dla polecenia dog z pakietu sheepdog.
 %{__automake}
 %configure \
 	--disable-silent-rules \
-	--with-initddir=/etc/rc.d/init.d
+	--with-initddir=/etc/rc.d/init.d \
+	--with-systemdsystemunitdir=%{systemdunitdir}
 %{__make}
 
 %install
@@ -87,6 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/shepherd
 %dir /var/lib/sheepdog
 %attr(754,root,root) /etc/rc.d/init.d/sheepdog
+%{systemdunitdir}/sheepdog.service
 %{_mandir}/man8/dog.8*
 %{_mandir}/man8/sheep.8*
 %{_mandir}/man8/sheepfs.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sheepdog.git/commitdiff/ab13bbecf2d4e6d0082fb79476a9adaef7bf1a0c



More information about the pld-cvs-commit mailing list