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

Pavel Zhukov landgraf at fedoraproject.org
Sun Dec 8 18:25:19 UTC 2013


commit af0deea1cc400a6b15984c59398854ae5bf34eb1
Author: Pavel Zhukov <pzhukov at redhat.com>
Date:   Sun Dec 8 19:25:12 2013 +0100

    Add fedora build flags to make command (#1039357)

 matreshka.spec |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/matreshka.spec b/matreshka.spec
index fc4a757..97b47d1 100644
--- a/matreshka.spec
+++ b/matreshka.spec
@@ -1,7 +1,7 @@
 %define _gprdir %_GNAT_project_dir
 Name:       matreshka
 Version:    0.5.1
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Set of Ada libraries to help to develop information systems
 Group:      System Environment/Libraries
 License:    BSD
@@ -11,9 +11,6 @@ Source0:    http://forge.ada-ru.org/matreshka/downloads/%{name}-%{version}.tar.g
 Patch1:          %{name}-%{version}_gprnames.patch
 ## fedora has stable release ABI. so we haven't to specify RTL
 Patch4:          %{name}-%{version}_gpr.patch
-## http://forge.ada-ru.org/matreshka/changeset/4090
-## Patch2:          %{name}-%{version}_parallel-build.patch
-### Patch3:         %{name}-%{version}_valgrind-suppressions.patch
 BuildRequires:   gcc-gnat
 BuildRequires:   fedora-gnat-project-common  >= 3 
 BuildRequires:   chrpath
@@ -338,19 +335,14 @@ Requires:   fedora-gnat-project-common  >= 2
 %prep
 %setup -q 
 %patch1 -p1 -b .names
-##%patch2 -p1 
-##%patch3 -p1 
 cd gnat/install && for i in `ls *.gpr` ; do mv $i matreshka_$i ; done
 cd - 
 %patch4 -p1 -b .gprfix
 
 %build
-###export GPRBUILD_FLAGS="%{GPRbuild_optflags}"
-export GPRBUILD_FLAGS="%Gnatmake_optflags"
-make config 
+make config  %{?_smp_mflags} GPRBUILD_FLAGS="%Gnatmake_optflags"
 %configure
-##make -j1
-make  %{?_smp_mflags}
+make  %{?_smp_mflags} GPRBUILD_FLAGS="%Gnatmake_optflags"
 
 %check 
 ## find libs without RPATH, Fedora specific
@@ -438,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.5.1-2
+- Add fedora build flags (#1039357)
+
 * Thu Sep 19 2013 Pavel Zhukov <landgraf at fedoraproject.org> - 0.5.1-1
 - Bugfix release 0.5.1
 


More information about the scm-commits mailing list