[pulseaudio] Update to git snapshot for BlueZ 5 support

Kalev Lember kalev at fedoraproject.org
Thu Aug 15 10:15:07 UTC 2013


commit efe22a2658ba938002eab9c33f426480118fa585
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Thu Aug 15 10:14:18 2013 +0200

    Update to git snapshot for BlueZ 5 support
    
    Upstream git commit bf9b3f07207cf5c2b973647d8e68381ac76ac0db from the
    master branch, leading up to the pulseaudio 5.0 release.

 pulseaudio.spec |   17 +++++++++++++++--
 sources         |    2 +-
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/pulseaudio.spec b/pulseaudio.spec
index 2f0d0f2..a2ed90f 100644
--- a/pulseaudio.spec
+++ b/pulseaudio.spec
@@ -1,6 +1,10 @@
 %global pa_major   4.0
 #global pa_minor   0
 
+%global gitrel     140
+%global gitcommit  bf9b3f07207cf5c2b973647d8e68381ac76ac0db
+%global shortcommit %(c=%{gitcommit}; echo ${c:0:5})
+
 %ifarch %{ix86} x86_64 %{arm}
 %global with_webrtc 1
 %endif
@@ -8,10 +12,16 @@
 Name:           pulseaudio
 Summary:        Improved Linux Sound Server
 Version:        %{pa_major}%{?pa_minor:.%{pa_minor}}
-Release:        2%{?dist}
+Release:        3%{?gitcommit:.git%{shortcommit}}%{?dist}
 License:        LGPLv2+
 URL:            http://www.freedesktop.org/wiki/Software/PulseAudio
+%if 0%{?gitrel}
+# git clone git://anongit.freedesktop.org/pulseaudio/pulseaudio
+# cd pulseaudio; git reset --hard %{gitcommit}; ./autogen.sh; make; make distcheck
+Source0:        pulseaudio-%{version}-%{gitrel}-g%{shortcommit}.tar.xz
+%else
 Source0:        http://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
+%endif
 Source1:        default.pa-for-gdm
 
 ## upstream patches
@@ -187,7 +197,7 @@ Requires(pre):  gdm
 This package contains GDM integration hooks for the PulseAudio sound server.
 
 %prep
-%setup -q -T -b0
+%setup -q -T -b0 -n %{name}-%{version}%{?gitrel:-%{gitrel}-g%{shortcommit}}
 
 sed -i.no_consolekit -e \
   's/^load-module module-console-kit/#load-module module-console-kit/' \
@@ -463,6 +473,9 @@ exit 0
 %attr(0600, gdm, gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa
 
 %changelog
+* Thu Aug 15 2013 Kalev Lember <kalevlember at gmail.com> - 4.0-3.gitbf9b3
+- Update to git snapshot bf9b3f0 for BlueZ 5 support
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 97532b6..b52d4f2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-591f211db2790a7e4d222f2dc6858db3  pulseaudio-4.0.tar.xz
+dd9c875b14adeddf8ba39845cd4b237e  pulseaudio-4.0-140-gbf9b3.tar.xz


More information about the scm-commits mailing list