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

Changes of Revision 56

[-] Changed ffmpeg.spec
x
 
1
@@ -285,8 +285,9 @@
2
 %prep
3
 %setup -q -n %{name}
4
 %patch0
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
@@ -303,7 +304,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
@@ -320,7 +321,7 @@
22
 %if 0%{?suse_version} >= 1030
23
             --enable-libschroedinger --enable-libdirac \
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
@@ -345,7 +346,7 @@
31
 #   mandir=%{buildroot}%{_mandir} \
32
 #   includedir=%{buildroot}%{_includedir} \
33
 #   install
34
-%{makeinstall}
35
+%__make DESTDIR=%{buildroot} install
36
 
37
 %{__mkdir_p} %{buildroot}%{_includedir}/%{name}
38
 %{__mkdir_p} %{buildroot}%{_includedir}/postproc
39