public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/lazarus] multiple-IDE-widgetsets: Auto-calculate qt5pas release number from Lazarus version.release number
Date: Thu, 23 Jul 2026 08:17:54 GMT [thread overview]
Message-ID: <178479467447.1.16113713175581734677.rpms-lazarus-0114e83d7a82@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/lazarus
Branch : multiple-IDE-widgetsets
Commit : 0114e83d7a82fe38f485e3bc903fe88317f2320d
Author : Artur Iwicki <fedora@svgames.pl>
Date : 2018-11-17T17:57:19+01:00
Stats : +12/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/lazarus/c/0114e83d7a82fe38f485e3bc903fe88317f2320d?branch=multiple-IDE-widgetsets
Log:
Auto-calculate qt5pas release number from Lazarus version.release number
---
diff --git a/lazarus.spec b/lazarus.spec
index 5578b76..8e4057e 100644
--- a/lazarus.spec
+++ b/lazarus.spec
@@ -1,6 +1,6 @@
Name: lazarus
Version: 1.8.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Lazarus Component Library and IDE for Freepascal
# GNU Classpath style exception, see COPYING.modifiedLGPL
@@ -11,7 +11,12 @@ patch0: Makefile_patch.diff
patch1: Desktop_patch.diff
patch2: disable_pascalscript_powerpc64.diff
-BuildRequires: fpc, binutils, glibc-devel, desktop-file-utils, fpc-src, gtk2-devel
+BuildRequires: binutils
+BuildRequires: desktop-file-utils
+BuildRequires: fpc, fpc-src
+BuildRequires: gcc-c++
+BuildRequires: glibc-devel
+BuildRequires: gtk2-devel
BuildRequires: perl-generators
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtx11extras-devel
@@ -26,7 +31,7 @@ Component Library - LCL, which is also included in this package.
# Qt5pas start
# The version is taken from lcl/interfaces/qt5/cbindings/Qt5Pas.pro
%global qt5pas_version 2.6
-%global qt5pas_release 4
+%global qt5pas_release %(relstr="%{version}.%{release}"; relstr=(${relstr//./ }); ((relno=${relstr[0]}*1000000 + ${relstr[1]}*10000 + ${relstr[2]}*100 + ${relstr[3]})); echo "${relno}%{?dist}";)
%package -n qt5pas
Version: %{qt5pas_version}
@@ -135,6 +140,10 @@ fi
%changelog
+* Sat Nov 17 2018 Artur Iwicki <fedora@svgames.pl> - 1.8.4-2
+- Use Lazarus version number to auto-calculate the qt5pas release number
+ This should prevent build failures in koji due to duplicate qt5pas version-release tags.
+
* Sat Aug 18 2018 Artur Iwicki <fedora@svgames.pl> - 1.8.4-1
- Update to new upstream version
reply other threads:[~2026-07-23 8:17 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=178479467447.1.16113713175581734677.rpms-lazarus-0114e83d7a82@fedoraproject.org \
--to=fedora@svgames.pl \
--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