public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthew D Truch <mtruch@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/kst] pr1: Change how we check which version of cfitsio kst-fits is built against.
Date: Tue, 06 Oct 2026 19:29:27 GMT	[thread overview]
Message-ID: <179131496747.1.15420794496109892853.rpms-kst-0ca4ff34ff99@fedoraproject.org> (raw)

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.
 

                 reply	other threads:[~2026-10-06 19:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179131496747.1.15420794496109892853.rpms-kst-0ca4ff34ff99@fedoraproject.org \
    --to=mtruch@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox