rpms/munipack/devel munipack.spec,1.1,1.2
Lubomir Kundrak (lkundrak)
fedora-extras-commits at redhat.com
Fri Dec 7 10:11:43 UTC 2007
Author: lkundrak
Update of /cvs/pkgs/rpms/munipack/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3092/devel
Modified Files:
munipack.spec
Log Message:
Fix use of compiler and make flags
Index: munipack.spec
===================================================================
RCS file: /cvs/pkgs/rpms/munipack/devel/munipack.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- munipack.spec 5 Dec 2007 09:59:23 -0000 1.1
+++ munipack.spec 7 Dec 2007 10:11:07 -0000 1.2
@@ -1,6 +1,6 @@
Name: munipack
Version: 0.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MuniPack is a CCD photometry package
License: GPLv2
@@ -22,9 +22,10 @@
%patch -p1
%build
-export FC=/usr/bin/f95
-%configure
-make %{_smp_mflags}
+%configure FC=f95 FCFLAGS="%{optflags}"
+# Can not use %{_smp_mflags}, dependencies not tracked properly
+# configure overrides our CFLAGS, let us supply make with our ones
+make CFLAGS="%{optflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -61,5 +62,10 @@
%{_bindir}/picko
%changelog
+* Fri Dec 07 2007 Lubomir Kundrak <lkundrak at redhat.com> - 0.3.1-2
+- Fix build with high -j by removing mflags
+- Let make use correct CFLAGS
+- Use optflags also for fortran files
+
* Thu Nov 22 2007 Marek Mahut <mmahut at fedoraproject.org> - 0.3.1-1
- Initial build.
More information about the fedora-extras-commits
mailing list