projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a4e6a
)
enable spolicy conditionally
author
Anas Nashif
<anas.nashif@intel.com>
Fri, 4 Jan 2013 14:46:54 +0000
(06:46 -0800)
committer
Anas Nashif
<anas.nashif@intel.com>
Thu, 11 Apr 2013 11:50:31 +0000
(
04:50
-0700)
packaging/pulseaudio.spec
patch
|
blob
|
history
diff --git
a/packaging/pulseaudio.spec
b/packaging/pulseaudio.spec
index
23199a6
..
4f61a1e
100644
(file)
--- a/
packaging/pulseaudio.spec
+++ b/
packaging/pulseaudio.spec
@@
-1,3
+1,5
@@
+%bcond_with spolicy
+
Name: pulseaudio
Version: 2.1
Release: 0
@@
-36,6
+38,9
@@
BuildRequires: libcap-devel
BuildRequires: orc
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(json) >= 0.9
+%if %{with spolicy}
+BuildRequires: pkgconfig(vconf)
+%endif
Requires(pre): pwdutils
Requires: udev >= 146
@@
-212,7
+217,9
@@
echo "%{version}" > .tarball-version
%configure \
--disable-static \
--disable-rpath \
+%if %{with spolicy}
--enable-spolicy \
+%endif
--enable-systemd \
--with-system-user=pulse \
--with-system-group=pulse \