rpms/gegl/F-13 import.log,NONE,1.1 gegl.spec,1.28,1.29

Nils Philippsen nphilipp at fedoraproject.org
Thu Jun 24 09:14:45 UTC 2010


Author: nphilipp

Update of /cvs/pkgs/rpms/gegl/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9883/F-13

Modified Files:
	gegl.spec 
Added Files:
	import.log 
Log Message:
build with -fno-strict-aliasing
use PIC/PIE because gegl is likely to deal with data coming from untrusted sources
use tabs consistently
let devel depend on gtk-doc



--- NEW FILE import.log ---
gegl-0_1_2-3_fc14:F-13:gegl-0.1.2-3.fc14.src.rpm:1277370804


Index: gegl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gegl/F-13/gegl.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- gegl.spec	19 Feb 2010 17:35:47 -0000	1.28
+++ gegl.spec	24 Jun 2010 09:14:44 -0000	1.29
@@ -3,7 +3,7 @@
 Summary:	A graph based image processing framework
 Name:		gegl
 Version:	0.1.2
-Release:	2%{?dist}
+Release:	3%{?dist}
 # The binary is under the GPL, while the libs are under LGPL
 License:	LGPLv3+ and GPLv3+
 Group:		System Environment/Libraries
@@ -11,9 +11,9 @@ URL:		http://www.gegl.org/
 Source0:	ftp://ftp.gtk.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2
 # backported git commit fc207f85521c3939600bd3e5a337c6ed2dfaa950
 # "process: don't leak each node set on a GeglProcessor"
-Patch0:     gegl-0.1.2-processor-leak.patch
+Patch0:		gegl-0.1.2-processor-leak.patch
 # avoid buffer overflow in gegl_buffer_header_init()
-Patch1:     gegl-0.1.2-buffer-save-overflow.patch
+Patch1:		gegl-0.1.2-buffer-save-overflow.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	asciidoc
 BuildRequires:	babl-devel >= 0.1.0
@@ -47,7 +47,10 @@ minimal dependencies. and a simple well 
 Summary:	Headers for developing programs that will use %{name}
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	pkgconfig babl-devel glib2-devel
+Requires:	gtk-doc
+Requires:	pkgconfig
+Requires:	babl-devel
+Requires:	glib2-devel
 
 %description devel
 This package contains the libraries and header files needed for
@@ -62,6 +65,11 @@ chmod -x docs/devhelp.css operations/ext
 %patch1 -p1 -b .buffer-save-overflow
 
 %build
+# use PIC/PIE because gegl is likely to deal with data coming from untrusted
+# sources
+CFLAGS="-fPIC %optflags -fno-strict-aliasing"
+CXXFLAGS="-fPIC %optflags -fno-strict-aliasing"
+LDFLAGS="-pie"
 %configure				\
 	--with-cairo			\
 	--with-graphviz			\
@@ -89,32 +97,32 @@ rm -f %{buildroot}%{_libdir}/gegl-%{gegl
 
 %check
 if make check; then
-    :
+	:
 else
-    # skip this for now
-    if false; then
-        errorcode=$?
-        # only dump results if run in mock/koji
-        group="$(id -g -n)"
-        if [ "$group" != "${group/mock/}" ]; then
-            pushd tests/compositions
-            echo tests-report
-            echo "---- 8< ----"
-            cat tests-report
-            echo "---- >8 ----"
-            echo
-            echo "wrong output images:"
-            grep " differ$" tests-report | while read reference and output rest; do
-                echo "$output"
-                echo "---- 8< ----"
-                base64 "$output"
-                echo "---- >8 ----"
-                echo
-            done
-            popd
-        fi
-        exit $errorcode
-    fi # end skip
+	# skip this for now
+	if false; then
+		errorcode=$?
+		# only dump results if run in mock/koji
+		group="$(id -g -n)"
+		if [ "$group" != "${group/mock/}" ]; then
+			pushd tests/compositions
+			echo tests-report
+			echo "---- 8< ----"
+			cat tests-report
+			echo "---- >8 ----"
+			echo
+			echo "wrong output images:"
+			grep " differ$" tests-report | while read reference and output rest; do
+				echo "$output"
+				echo "---- 8< ----"
+				base64 "$output"
+				echo "---- >8 ----"
+				echo
+			done
+			popd
+		fi
+		exit $errorcode
+	fi # end skip
 fi
 
 %clean
@@ -139,6 +147,15 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Wed Jun 23 2010 Nils Philippsen <nils at redhat.com> - 0.1.2-3
+- build with -fno-strict-aliasing
+- use PIC/PIE because gegl is likely to deal with data coming from untrusted
+  sources
+
+* Fri Feb 26 2010 Nils Philippsen <nils at redhat.com>
+- use tabs consistently
+- let devel depend on gtk-doc
+
 * Fri Feb 19 2010 Nils Philippsen <nils at redhat.com> - 0.1.2-2
 - ignore make check failures for now
 



More information about the scm-commits mailing list