Put correct version number in pkgconfig file.

epel9
Matthew D Truch 16 years ago
parent 4ae7f8a185
commit 34e4fccf67

@ -1,6 +1,6 @@
Name: cfitsio Name: cfitsio
Version: 3.130 Version: 3.130
Release: 3%{?dist} Release: 4%{?dist}
Summary: Library for manipulating FITS data files Summary: Library for manipulating FITS data files
Group: Development/Libraries Group: Development/Libraries
@ -55,6 +55,9 @@ unset FC
sed 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' cfitsio.pc >cfitsio.pc.new sed 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' cfitsio.pc >cfitsio.pc.new
sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc.new >cfitsio.pc sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc.new >cfitsio.pc
rm -f cfitsio.pc.new rm -f cfitsio.pc.new
# Manually correct pkgconfig .pc file version
sed 's|3.006|%{version}|' cfitsio.pc >cfitsio.pc.new
mv cfitsio.pc.new cfitsio.pc
%check %check
make testprog make testprog
@ -95,6 +98,9 @@ rm -rf %{buildroot}
%{_libdir}/libcfitsio.a %{_libdir}/libcfitsio.a
%changelog %changelog
* Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 3.130-4
- Set correct version in pkgconfig .pc file.
* Sun Feb 22 2009 Matthew Truch <matt at truch.net> - 3.130-3 * Sun Feb 22 2009 Matthew Truch <matt at truch.net> - 3.130-3
- Re-check testprogram output. - Re-check testprogram output.
- Build for koji, rpm, gcc upgrade. - Build for koji, rpm, gcc upgrade.

@ -1 +0,0 @@
Will build myself.
Loading…
Cancel
Save