wcohen pushed to oprofile (master). "Fix rawhide FTBFS issues."

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 10 20:54:05 UTC 2015


>From 7f66cebb63b6f4c6144520a58f94264d4fafa299 Mon Sep 17 00:00:00 2001
From: William Cohen <wcohen at redhat.com>
Date: Fri, 10 Apr 2015 16:53:34 -0400
Subject: Fix rawhide FTBFS issues.


diff --git a/oprofile.spec b/oprofile.spec
index a0b3706..49cf4d5 100644
--- a/oprofile.spec
+++ b/oprofile.spec
@@ -1,7 +1,7 @@
 Summary: System wide profiler
 Name: oprofile
 Version: 1.0.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: Development/System
 #
@@ -73,14 +73,11 @@ agent library.
 
 %build
 
-#The CXXFLAGS below is temporary to work around
-# bugzilla #113909
-CXXFLAGS=-g;     export CXXFLAGS
-
+CXXFLAGS="%{optflags}" CFLAGS="%{optflags}"
 %configure \
 --with-java=/usr/lib/jvm/java
 
-make CFLAGS="%{optflags}"
+make
 
 %install
 rm -rf %{buildroot}
@@ -149,6 +146,9 @@ exit 0
 %{_sysconfdir}/ld.so.conf.d/*
 
 %changelog
+* Fri Apr 10 2015 William Cohen <wcohen at redhat.com> - 1.0.0-5
+- Fix rawhide FTBFS issues.
+
 * Wed Feb 11 2015 William Cohen <wcohen at redhat.com> - 1.0.0-4
 - Bump version and rebuild.
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/oprofile.git/commit/?h=master&id=7f66cebb63b6f4c6144520a58f94264d4fafa299


More information about the scm-commits mailing list