public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/CGAL] rawhide: use autorelease (and prep for packit)
@ 2026-06-12 10:38 Laurent Rineau
0 siblings, 0 replies; only message in thread
From: Laurent Rineau @ 2026-06-12 10:38 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-12 10:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 10:38 [rpms/CGAL] rawhide: use autorelease (and prep for packit) Laurent Rineau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox