Logoj0ke.net Open Build Service > Projects > multimedia > ffmpeg > Changes
Sign Up | Log In

Changes of Revision 45

[-] Changed ffmpeg.spec
x
 
1
@@ -298,8 +298,9 @@
2
 %setup -q -n %{name}
3
 %patch0
4
 %patch1
5
-
6
+%if 0%{?suse_version}
7
 %suse_update_libdir configure
8
+%endif
9
 #don't call ldconfig on install
10
 #perl -pi -e 's/ldconfig \|\| true//' libavcodec/Makefile
11
 
12
@@ -316,7 +317,7 @@
13
 %endif
14
 
15
 CFLAGS="$RPM_OPT_FLAGS $archflags"
16
-%if 0%{?suse_version} >= 1010
17
+%if 0%{?suse_version} >= 1010 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version}
18
 CFLAGS="${CFLAGS} -I%{_includedir}/gsm"
19
 %endif
20
 export archflags
21
@@ -333,7 +334,7 @@
22
 %if 0%{?suse_version} >= 1100
23
             --enable-libnut \
24
 %endif
25
-%if 0%{?suse_version} >= 1010
26
+%if 0%{?suse_version} >= 1010 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version}
27
             --enable-libgsm \
28
 %endif
29
 %ifarch ppc
30