diff --git a/.gitignore b/.gitignore index 6052736..902cffe 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,3 @@ /xmlada-22.0.0.tar.gz /xmlada-23.0.0.tar.gz /xmlada-24.0.0.tar.gz -/xmlada-25.0.0.tar.gz -/xmlada-26.0.0.tar.gz diff --git a/sources b/sources index 313a9f1..3c545d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xmlada-26.0.0.tar.gz) = b97f7727df52229f8e76ab169f4b42b9b82b20c82555607d65455f6cb7836c83219017a45b832de38b348e595f5a68d0987e3c568293b45fc285ffdc3ec3aa01 +SHA512 (xmlada-24.0.0.tar.gz) = 4e6773a5fdf9b6ebb5afca913d77aba9f697768f28ef9b23b9277aa4ea4ce09de4e53655dd5559e2326ff847327adb53fa6b776775aa923100a2624df415c97d \ No newline at end of file diff --git a/xmlada.spec b/xmlada.spec index bb65e7e..e2f3bdd 100644 --- a/xmlada.spec +++ b/xmlada.spec @@ -6,13 +6,13 @@ # Upstream source information. %global upstream_owner AdaCore %global upstream_name xmlada -%global upstream_version 26.0.0 -%global upstream_commit 5e5b761eb827f458efd2043a5e9ab03e1a614720 +%global upstream_version 24.0.0 +%global upstream_gittag v%{upstream_version} Name: xmlada Epoch: 2 Version: %{upstream_version} -Release: 5%{?dist} +Release: 1%{?dist} Summary: XML library for Ada License: GPL-3.0-or-later WITH GCC-exception-3.1 AND Unicode-DFS-2016 @@ -21,7 +21,7 @@ License: GPL-3.0-or-later WITH GCC-exception-3.1 AND Unicode-DFS-2016 # generating some of XML/Ada's source code. URL: https://github.com/%{upstream_owner}/%{upstream_name} -Source0: %{url}/archive/%{upstream_commit}.tar.gz#/%{upstream_name}-%{upstream_version}.tar.gz +Source0: %{url}/archive/%{upstream_gittag}/%{upstream_name}-%{upstream_version}.tar.gz # XML/Ada's aggregate project file. This project file is normally generated and # installed by GPRinstall, but as we'll install each XML/Ada component @@ -31,12 +31,12 @@ Source1: xmlada.gpr BuildRequires: make %if %{without bootstrap} BuildRequires: gcc-gnat gprbuild sed -BuildRequires: fedora-gnat-project-common +# A fedora-gnat-project-common that contains the macro GPRinstall is needed. +BuildRequires: fedora-gnat-project-common >= 3.21 BuildRequires: python3-sphinx -BuildRequires: python3-sphinx-latex BuildRequires: python3-sphinx_rtd_theme -%else -BuildRequires: findutils +BuildRequires: python3-sphinx-latex +BuildRequires: latexmk %endif # Build only on architectures where GPRbuild is available. @@ -88,10 +88,6 @@ BuildArch: noarch License: AdaCore-doc AND MIT AND BSD-2-Clause # License for the documentation is AdaCore-doc. The Javascript and CSS files # that Sphinx includes with the documentation are BSD 2-Clause and MIT-licensed. -Requires: font(fontawesome) -Requires: font(lato) -Requires: font(robotoslab) -# Fonts are required by the Read the Docs Sphinx theme. %description doc %{common_description_en} @@ -121,7 +117,7 @@ on which GPRbuild is not yet available. ############# %prep -%autosetup -C -p1 +%autosetup -p1 # Set version number. sed --in-place --expression 's/18.0w/%{version}/' configure configure.in @@ -279,45 +275,6 @@ find %{buildroot}%{_includedir}/%{name}/sources -type d -empty -delete ############### %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 2:26.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Sun May 10 2026 Björn Persson - 2:26.0.0-4 -- Rebuilt because GCC broke ALI again. - -* Sat Mar 28 2026 Björn Persson - 2:26.0.0-3 -- Rebuilt because GCC 16.0.1-0.10 broke ALI. - -* Sat Jan 17 2026 Fedora Release Engineering - 2:26.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Tue Dec 23 2025 Dennis van Raaij - 2:26.0.0-1 -- Updated to v26.0.0. - -* Fri Aug 08 2025 Björn Persson - 2:25.0.0-7 -- Rebuilt because the ALI of System.OS_Constants changed. - -* Fri Jul 25 2025 Fedora Release Engineering - 2:25.0.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 2:25.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jan 15 2025 Björn Persson - 2:25.0.0-4 -- Rebuilt with another GCC 15 prerelease. - -* Mon Jan 13 2025 Björn Persson - 2:25.0.0-3 -- Rebuilt with GCC 15 prerelease. - -* Wed Dec 04 2024 Pavel Zhukov - 2:25.0.0-2 -- Disable bootstrap - -* Sun Oct 27 2024 Dennis van Raaij - 2:25.0.0-1 -- Updated to v25.0.0. - -* Sat Jul 20 2024 Fedora Release Engineering - 2:24.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - * Sun Jan 28 2024 Dennis van Raaij - 2:24.0.0-1 - Updated to v24.0.0. - Generated HTML-documentation now uses the 'Read the Docs' Sphinx theme.