Hello community,

here is the log from the commit of package mc for openSUSE:Factory checked in 
at 2012-02-06 15:55:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mc (Old)
 and      /work/SRC/openSUSE:Factory/.mc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mc", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mc/mc.changes    2011-12-21 10:01:28.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.mc.new/mc.changes       2012-02-06 
15:55:07.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Feb  3 09:00:29 UTC 2012 - [email protected]
+
+- Fixed rpmlint warning - added -fpie and -pie to compilation and linking of 
consaver
+
+-------------------------------------------------------------------

New:
----
  mc-pie.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mc.spec ++++++
--- /var/tmp/diff_new_pack.DC2QkV/_old  2012-02-06 15:55:11.000000000 +0100
+++ /var/tmp/diff_new_pack.DC2QkV/_new  2012-02-06 15:55:11.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mc
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,16 +15,13 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:           mc
 Summary:        Midnight Commander
+License:        GPL-2.0+
 Group:          Productivity/File utilities
-License:        GPLv2+
 Url:            http://www.midnight-commander.org/
 Version:        4.7.5.3
-Release:        1
+Release:        0
 Source:         mc-%{version}.tar.lzma
 Source1:        x11_browser
 Source2:        %{name}.desktop
@@ -49,6 +46,8 @@
 # Patches from Fedora
 Patch50:        mc-extensions.patch
 Patch51:        mc-mcviewsegfault.patch
+#Patch adding -fpie and -pie to compilation and linking of setuid binaries
+Patch52:        mc-pie.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  audiofile-devel
 BuildRequires:  docbook-toys
@@ -115,6 +114,7 @@
 %patch41
 %patch50
 %patch51
+%patch52 -p1
 
 pushd doc/hints
 iconv -f iso8859-1 -t utf-8 -o mc.hint.tmp mc.hint && mv mc.hint.tmp mc.hint


++++++ mc-pie.patch ++++++
Index: mc-4.7.5.3/src/consaver/Makefile.am
===================================================================
--- mc-4.7.5.3.orig/src/consaver/Makefile.am
+++ mc-4.7.5.3/src/consaver/Makefile.am
@@ -4,4 +4,6 @@ pkglibexec_PROGRAMS = cons.saver
 
 cons_saver_SOURCES = cons.saver.c
 
-cons_saver_CFLAGS= -I$(top_srcdir)
+cons_saver_CFLAGS= -fpie -I$(top_srcdir)
+
+cons_saver_LDFLAGS= -pie

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to