Author: kwizart
Update of /cvs/free/rpms/libmpeg2/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15060/F-8
Modified Files:
libmpeg2.spec
Log Message:
- Fix CFLAGS on x86 producing selinux denials.
Index: libmpeg2.spec
===================================================================
RCS file: /cvs/free/rpms/libmpeg2/F-8/libmpeg2.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libmpeg2.spec 30 Jul 2008 05:17:46 -0000 1.2
+++ libmpeg2.spec 8 Oct 2008 01:38:11 -0000 1.3
@@ -1,6 +1,6 @@
Name: libmpeg2
Version: 0.5.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MPEG-2 decoder libraries
Group: System Environment/Libraries
@@ -50,14 +50,22 @@
%build
-%configure --disable-static
+%configure --disable-static \
+%ifarch i386
+ --disable-accel-detect \
+%endif
# mpeg2dec have rpath
# remove rpath from libtool
sed -i.rpath
's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-make %{?_smp_mflags}
+make %{?_smp_mflags} \
+%ifarch i386
+ OPT_CFLAGS="-fPIC -DPIC" \
+%else
+ OPT_CFLAGS="" \
+%endif
%install
@@ -98,6 +106,9 @@
%changelog
+* Fri Oct 4 2008 kwizart < kwizart at
gmail.com > - 0.5.1-3
+- Fix CFLAGS on x86 producing selinux denials.
+
* Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.5.1-2
- rebuild for buildsys cflags issue