rpms/cfitsio/devel cfitsio.spec,1.25,1.26
Matthew D Truch (mtruch)
fedora-extras-commits at redhat.com
Fri Mar 7 21:19:51 UTC 2008
Author: mtruch
Update of /cvs/extras/rpms/cfitsio/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13616
Modified Files:
cfitsio.spec
Log Message:
Fix pkgconfig files with sed. BZ 436539
Index: cfitsio.spec
===================================================================
RCS file: /cvs/extras/rpms/cfitsio/devel/cfitsio.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- cfitsio.spec 11 Feb 2008 22:02:42 -0000 1.25
+++ cfitsio.spec 7 Mar 2008 21:19:12 -0000 1.26
@@ -1,6 +1,6 @@
Name: cfitsio
Version: 3.060
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Library for manipulating FITS data files
Group: Development/Libraries
@@ -38,7 +38,7 @@
Summary: Static cfitsio library
%description static
-Static cfitsio library; avoid use is possible.
+Static cfitsio library; avoid use if possible.
%prep
%setup -q -n cfitsio
@@ -51,6 +51,10 @@
%configure
make shared %{?_smp_mflags}
unset FC
+# Manually fix pkgconfig .pc file (BZ 436539)
+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
+rm -f cfitsio.pc.new
%install
rm -rf %{buildroot}
@@ -85,6 +89,11 @@
%{_libdir}/libcfitsio.a
%changelog
+* Fri Mar 7 2008 Matthew Truch <matt at truch.net> - 3.060-3
+- Properly indicated include and lib directories in .pc file
+ (BZ 436539)
+- Fix typo in -static descrition.
+
* Mon Feb 11 2008 Matthew Truch <matt at truch.net> - 3.060-2
- Bump release for rebuild.
More information about the fedora-extras-commits
mailing list