rpms/cfitsio/FC-5 cfitsio.spec,1.11,1.12
Matthew D Truch (mtruch)
fedora-extras-commits at redhat.com
Sun Mar 19 17:42:30 UTC 2006
Author: mtruch
Update of /cvs/extras/rpms/cfitsio/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13713/FC-5
Modified Files:
cfitsio.spec
Log Message:
Fix references to %{buildroot} so they aren't in %build; only in %install.
Index: cfitsio.spec
===================================================================
RCS file: /cvs/extras/rpms/cfitsio/FC-5/cfitsio.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- cfitsio.spec 10 Mar 2006 19:11:18 -0000 1.11
+++ cfitsio.spec 19 Mar 2006 17:42:29 -0000 1.12
@@ -1,6 +1,6 @@
Name: cfitsio
Version: 3.006
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Library for manipulating FITS data files
Group: Development/Libraries
@@ -39,14 +39,14 @@
%build
FC=f95
export FC
-%configure --prefix=%{buildroot}/%{_prefix} --includedir=%{buildroot}/%{_includedir}/%{name}
+%configure
make shared %{?_smp_mflags}
unset FC
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
-LIBDIR=%{_lib} INCLUDEDIR=include/%{name} make install
+make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_PREFIX=%{buildroot}%{_prefix} install
pushd %{buildroot}%{_libdir}
ln -s libcfitsio.so.0 libcfitsio.so
popd
@@ -69,6 +69,10 @@
%{_libdir}/libcfitsio.so
%changelog
+* Sun Mar 19 2006 Matthew Truch <matt at truch.net> - 3.006-4
+- Don't use %{buildroot} in %build, only in %_install as per
+ appended comments to Bugzilla bug 172042
+
* Fri Mar 10 2006 Matthew Truch <matt at truch.net> - 3.006-3
- Point to f95 instead of g95 as per bugzilla bug 185107
More information about the fedora-extras-commits
mailing list