[obs-studio] fix unversioned so

Momcilo Medic fedorauser at rpmfusion.org
Wed Oct 19 00:42:57 CEST 2016


commit 9de446b75f5cd3b70e9da329e68a1fb0e2740db0
Author: Momcilo Medic <fedorauser at fedoraproject.org>
Date:   Wed Oct 19 00:42:28 2016 +0200

    fix unversioned so

 .gitignore      |  1 +
 obs-studio.spec | 15 ++++++++++++---
 sources         |  2 +-
 3 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b883576..3764576 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /obs-studio-0.15.4.tar.gz
 /obs-studio-0.16.2.tar.gz
+/obs-studio-4505d5ac33b6c5d4bb828dd62b027452a6ac262d.tar.gz
diff --git a/obs-studio.spec b/obs-studio.spec
index a5b20e5..e43c524 100644
--- a/obs-studio.spec
+++ b/obs-studio.spec
@@ -1,11 +1,15 @@
+%global gitdate 20161017
+%global commit 4505d5ac33b6c5d4bb828dd62b027452a6ac262d
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
 Name:           obs-studio
 Version:        0.16.2
-Release:        1%{?dist}
+Release:        2.%{gitdate}git%{shortcommit}%{?dist}
 Summary:        Open Broadcaster Software Studio
 
 License:        GPLv2+
 URL:            https://obsproject.com/
-Source0:        https://github.com/jp9000/obs-studio/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        https://github.com/jp9000/obs-studio/archive/%{commit}/obs-studio-%{commit}.tar.gz
 Patch0:         obs-ffmpeg-mux.patch
 
 # Arm gcc has no xmmintrin.h file
@@ -33,6 +37,7 @@ BuildRequires:  vlc-devel
 BuildRequires:  alsa-lib-devel
 BuildRequires:  systemd-devel
 BuildRequires:  doxygen
+BuildRequires:  speexdsp-devel
 Requires:       ffmpeg x264
 
 %description
@@ -64,7 +69,7 @@ that use %{name}.
 
 
 %prep
-%setup -q
+%setup -qn %{name}-%{commit}
 %patch0 -p1
 
 # rpmlint reports E: hardcoded-library-path
@@ -130,6 +135,10 @@ fi
 
 
 %changelog
+* Tue Oct 18 2016 Momcilo Medic <fedorauser at fedoraproject.org> - 0.16.2-2.20161018git4505d5a
+- Updated to git to resolve unversioned shared object
+- Identified speexdsp-devel as a dependency
+
 * Sat Oct 01 2016 Martin Gansser <martinkg at fedoraproject.org> - 0.16.2-1
 - Updated to 0.16.2
 - Build doxygen html documentation
diff --git a/sources b/sources
index 4f0264d..d578d57 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-19bc6fcff2ad4f7070e8c80b58c4b8f1  obs-studio-0.16.2.tar.gz
+cfe2c5aa4af37fcd2e5a1a05c63831df  obs-studio-4505d5ac33b6c5d4bb828dd62b027452a6ac262d.tar.gz


More information about the rpmfusion-commits mailing list