public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kst] pr1: Change how we check which version of cfitsio kst-fits is built against.
@ 2026-10-06 19:29 Matthew D Truch
  0 siblings, 0 replies; only message in thread
From: Matthew D Truch @ 2026-10-06 19:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/kst
Branch : pr1
Commit : 0ca4ff34ff9979566f8dc2d3afb784ee7d598902
Author : Matthew D Truch <mtruch@fedoraproject.org>
Date   : 2009-03-12T17:33:25+00:00
Stats  : +6/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/kst/c/0ca4ff34ff9979566f8dc2d3afb784ee7d598902?branch=pr1

Log:
Change how we check which version of cfitsio kst-fits is built against.

---
diff --git a/kst.spec b/kst.spec
index a6ddeb5..35181b4 100644
--- a/kst.spec
+++ b/kst.spec
@@ -1,6 +1,6 @@
 Name:       kst
 Version:    1.7.0
-Release:    5%{?dist}
+Release:    6%{?dist}
 Summary:    A data viewing program for KDE
 
 Group:      Applications/Engineering
@@ -72,7 +72,8 @@ Requires:   %{name} = %{version}-%{release}
 # Hack because cfitsio won't run if it's internal library version
 # doesn't perfectly match between installed library and compiled
 # against library.  Meh.
-Requires:   cfitsio = %(rpm -q cfitsio --qf %{V})
+#Requires:   cfitsio = %(rpm -q cfitsio --qf %{V})
+Requires:   cfitsio = %(pkg-config --modversion cfitsio 2>/dev/null || echo 0)
 
 %description fits
 A plugin allowing kst to open and read data and images contained within 
@@ -238,6 +239,9 @@ rm -rf %{buildroot}
 %{_datadir}/services/kst/kstdata_netcdf.desktop
 
 %changelog
+* Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 1.7.0-6
+- Make cfitsio explicit version check work.
+
 * Thu Feb 26 2009 Matthew Truch <matt at truch.net> - 1.7.0-5
 - Make documentation noarch.
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-06 19:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 19:29 [rpms/kst] pr1: Change how we check which version of cfitsio kst-fits is built against Matthew D Truch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox