Author: kwizart
Update of /cvs/free/rpms/libmpeg2/EL-5
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15060/EL-5
Modified Files:
libmpeg2.spec
Log Message:
- Fix CFLAGS on x86 producing selinux denials.
Index: libmpeg2.spec
===================================================================
RCS file: /cvs/free/rpms/libmpeg2/EL-5/libmpeg2.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libmpeg2.spec 20 Jul 2008 11:46:49 -0000 1.1
+++ libmpeg2.spec 8 Oct 2008 01:38:11 -0000 1.2
@@ -1,6 +1,6 @@
Name: libmpeg2
Version: 0.5.1
-Release: 1%{?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,12 @@
%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
+
* Fri Jul 18 2008 kwizart < kwizart at
gmail.com > - 0.5.1-1
- Update to 0.5.1