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

Changes of Revision 3

[-] Changed faad2.spec
x
 
1
@@ -29,7 +29,7 @@
2
 BuildRequires:  id3lib-devel
3
 BuildRequires:  gcc-c++
4
 BuildRequires:  SDL-devel
5
-%if %suse_version < 1000
6
+%if 0%{?suse_version} < 1000
7
 BuildRequires:  glib
8
 BuildRequires:  glib-devel
9
 BuildRequires:  gtk
10
@@ -113,10 +113,18 @@
11
 %{__install} -m 644 common/mp4ff/mp4ff_int_types.h %{buildroot}%{_includedir}/
12
 
13
 %post
14
+%if 0%{?suse_version}
15
 %run_ldconfig
16
+%else
17
+/sbin/ldconfig
18
+%endif
19
 
20
 %postun
21
+%if 0%{?suse_version}
22
 %run_ldconfig
23
+%else
24
+/sbin/ldconfig
25
+%endif
26
 
27
 %clean
28
 [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
29