Fix cfistio.pc file for incorrect include path as per RH BZ 618291.

epel9
Matthew D Truch 15 years ago
parent e468c84c41
commit 081f8c483f

@ -1,6 +1,6 @@
Name: cfitsio
Version: 3.250
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Library for manipulating FITS data files
Group: Development/Libraries
@ -88,8 +88,8 @@ ln -s libcfitsio.so.0 libcfitsio.so
make fpack %{?_smp_mflags}
make funpack %{?_smp_mflags}
unset FC
# Manually fix pkgconfig .pc file (BZ 436539)
sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc >cfitsio.pc.new
# Manually fix pkgconfig .pc file (BZ 436539, BZ 618291)
sed 's|/usr/include|/usr/include/%{name}|' cfitsio.pc >cfitsio.pc.new
mv cfitsio.pc.new cfitsio.pc
%check
@ -145,7 +145,11 @@ rm -rf %{buildroot}
%{_bindir}/funpack
%changelog
* Thu Jul 27 2010 Orion Poplawski <orion@cora.nwra.com> - 3.250-3
* Mon Jul 26 2010 Matthew Truch <matt at truch.net> - 3.250-4
- Re-fix cfitsio.pc file (BZ 618291)
- Fix typo in date of previous changelog entry.
* Thu Jul 22 2010 Orion Poplawski <orion@cora.nwra.com> - 3.250-3
- Build and ship fpack/funpack in fpack package
* Wed Jul 7 2010 Matthew Truch <matt at truch.net> - 3.250-2

Loading…
Cancel
Save