public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Laurent Rineau <laurent.rineau@cgal.org>
To: git-commits@fedoraproject.org
Subject: [rpms/CGAL] rawhide: use autorelease (and prep for packit)
Date: Fri, 12 Jun 2026 10:38:15 GMT [thread overview]
Message-ID: <178126069538.1.11791612211242181859.rpms-CGAL-614cad39a586@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/CGAL
Branch : rawhide
Commit : 614cad39a586a807c947fc2adbda902a1294c2e9
Author : Laurent Rineau <laurent.rineau@cgal.org>
Date : 2026-06-12T12:19:54+02:00
Stats : +8/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/CGAL/c/614cad39a586a807c947fc2adbda902a1294c2e9?branch=rawhide
Log:
use autorelease (and prep for packit)
---
diff --git a/CGAL.spec b/CGAL.spec
index 08dfa9c..bf34d51 100644
--- a/CGAL.spec
+++ b/CGAL.spec
@@ -6,17 +6,19 @@
%global qt_version 6.4
%global cmake_version 3.22
-#%%global fullversion %%{version}
-%global fullversion 6.2-beta1
+%global base_version 6.2
+%global prerelease beta1
+%global package_version %{base_version}%{?prerelease:~%{prerelease}}
+%global upstream_version %{base_version}%{?prerelease:-%{prerelease}}
Name: CGAL
-Version: 6.2
-Release: 0.1.beta1%{?dist}
+Version: %{package_version}
+Release: %autorelease
Summary: Computational Geometry Algorithms Library
License: LGPL-3.0-or-later AND GPL-3.0-or-later AND BSL-1.0
URL: http://www.cgal.org/
-Source0: https://github.com/CGAL/cgal/releases/download/v%{fullversion}/%{name}-%{fullversion}.tar.xz
+Source0: https://github.com/CGAL/cgal/releases/download/v%{upstream_version}/%{name}-%{upstream_version}.tar.xz
# Required devel packages.
BuildRequires: cmake >= %{cmake_version}
@@ -82,7 +84,7 @@ CGAL algorithms.
%prep
-%autosetup -p1 -n %{name}-%{fullversion}
+%autosetup -p1 -n %{name}-%{upstream_version}
# Fix some file permissions
#chmod a-x include/CGAL/export/ImageIO.h
reply other threads:[~2026-06-12 10:38 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=178126069538.1.11791612211242181859.rpms-CGAL-614cad39a586@fedoraproject.org \
--to=laurent.rineau@cgal.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