public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Zdenek Dohnal <zdohnal@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jbig2dec] rawhide: Add version guards to remind rebuild of dependent packages
Date: Fri, 07 Aug 2026 14:50:14 GMT [thread overview]
Message-ID: <178611421439.1.10742632160958088429.rpms-jbig2dec-71d5c85badc2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/jbig2dec
Branch : rawhide
Commit : 71d5c85badc25b84422e2c30ef25c157fadeaff3
Author : Zdenek Dohnal <zdohnal@redhat.com>
Date : 2026-08-07T16:48:33+02:00
Stats : +16/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/jbig2dec/c/71d5c85badc25b84422e2c30ef25c157fadeaff3?branch=rawhide
Log:
Add version guards to remind rebuild of dependent packages
---
diff --git a/jbig2dec.spec b/jbig2dec.spec
index a34000d..ae03da4 100644
--- a/jbig2dec.spec
+++ b/jbig2dec.spec
@@ -1,3 +1,12 @@
+# update this when there is a new version
+# !BEWARE! all dependent packages have to rebuilt and released
+# together with new jbig2dec version - use side tags
+%if 0%{?fedora} >= 40 || 0%{?rhel} > 9
+%global current_version 0.20
+%else
+%global current_version 0.19
+%endif
+
Name: jbig2dec
Version: 0.20
Release: %autorelease
@@ -49,6 +58,13 @@ which requires the jbig2dec library.
%build
+%if "x%{version}" != "x%{current_version}"
+ echo "Versions mismatch - update current_version macro, build jbig2dec\
+ in side tag and then dependent packages with it too. Push them all \
+ in the same update to prevent breakages"
+ exit 1
+%endif
+
autoreconf -fi
%configure --disable-static
%make_build
reply other threads:[~2026-08-07 14:50 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=178611421439.1.10742632160958088429.rpms-jbig2dec-71d5c85badc2@fedoraproject.org \
--to=zdohnal@redhat.com \
--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