[rtpproxy] Works with systemd (added missing BuildRequires)

Peter Lemenkov peter at fedoraproject.org
Tue Nov 22 20:35:20 UTC 2011


commit c60b156e600e77893b60f8919deb2f7671a75461
Author: Peter Lemenkov <lemenkov at gmail.com>
Date:   Wed Nov 23 00:35:09 2011 +0400

    Works with systemd (added missing BuildRequires)
    
    Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

 rtpproxy.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/rtpproxy.spec b/rtpproxy.spec
index 9085288..6512f8d 100644
--- a/rtpproxy.spec
+++ b/rtpproxy.spec
@@ -8,9 +8,12 @@ URL:            http://www.rtpproxy.org
 Source0:        http://b2bua.org/chrome/site/%{name}-%{version}.tar.gz
 Source1:        rtpproxy.sysconfig
 Source2:	rtpproxy.init
+%if 0%{?fc15}%{?fc16}%{?fc17}
 # systemd stuff
 Source3:	rtpproxy.service
 Source4:	rtpproxy.tmpfiles.conf
+BuildRequires:	systemd-units
+%endif
 # See https://bugzilla.redhat.com/626863
 Patch1:		rtpproxy-0001-Allow-group-users-write-to-the-controlling-UNIX-sock.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


More information about the scm-commits mailing list