[matreshka/f19] Add fedora build flags to make command (#1039357)

Pavel Zhukov landgraf at fedoraproject.org
Sun Dec 8 19:42:54 UTC 2013


commit 74b0093846470d014ec866f8e9208a7c9b66c4a4
Author: Pavel Zhukov <pzhukov at redhat.com>
Date:   Sun Dec 8 20:42:48 2013 +0100

    Add fedora build flags to make command (#1039357)

 matreshka.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/matreshka.spec b/matreshka.spec
index c49879d..69cfeb2 100644
--- a/matreshka.spec
+++ b/matreshka.spec
@@ -1,7 +1,7 @@
 %define _gprdir %_GNAT_project_dir
 Name:       matreshka
 Version:    0.4.0
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Set of Ada libraries to help to develop information systems
 Group:      System Environment/Libraries
 License:    BSD
@@ -340,12 +340,9 @@ cd -
 %patch4 -p1 -b .gprfix
 
 %build
-###export GPRBUILD_FLAGS="%{GPRbuild_optflags}"
-export GPRBUILD_FLAGS="%Gnatmake_optflags"
-make config 
+make config GPRBUILD_FLAGS="%Gnatmake_optflags"
 %configure
-make -j1
-## make  %{?_smp_mflags}
+make -j1 GPRBUILD_FLAGS="%Gnatmake_optflags"
 
 %check 
 ## find libs without RPATH, Fedora specific
@@ -433,6 +430,9 @@ chrpath --delete %{buildroot}%{_libdir}/lib*
 %files amf-mofext-devel -f .objs/amf_mofext-devel.files
 
 %changelog
+* Sun Dec 08 2013 Pavel Zhukov <landgraf at fedoraproject.org> - 0.4.0-2
+- Fix build flags
+
 * Thu Apr 25 2013 Tom Callaway <spot at fedoraproject.org> - 0.4.0-1
 - update to 0.4.0
 


More information about the scm-commits mailing list