From 012dae58b8f26939e651efe9afe31232a41ca30f Mon Sep 17 00:00:00 2001 From: Pavel Zhukov Date: Jan 12 2021 08:45:17 +0000 Subject: New version v21.0.0 --- diff --git a/.gitignore b/.gitignore index fb5b149..f41755c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gnatcoll-bindings-gpl-2018-src.tar.gz +/gnatcoll-bindings-21.0.0.tar.gz diff --git a/gnatcoll-bindings.spec b/gnatcoll-bindings.spec index a5597d1..5fa809e 100644 --- a/gnatcoll-bindings.spec +++ b/gnatcoll-bindings.spec @@ -1,6 +1,7 @@ Name: gnatcoll-bindings -Version: 2018 -Release: 7%{?dist} +Epoch: 2 +Version: 21.0.0 +Release: 2%{?dist} Summary: The GNAT Components Collection – bindings Summary(sv): GNAT Components Collection – bindningar @@ -8,14 +9,11 @@ License: GPLv3+ # The source files are GPLv3+ and GPLv2+. These combine into GPLv3+ on the # binary code. URL: https://github.com/AdaCore/gnatcoll-bindings -Source: http://mirrors.cdn.adacore.com/art/5b0ce9cfc7a4475261f97ca5#/gnatcoll-bindings-gpl-2018-src.tar.gz -# The long hexadecimal number is what identifies the file on the server. -# Don't forget to update it! -# The latest known address of the download page is: -# https://www.adacore.com/download/more - -BuildRequires: gcc-gnat gprbuild fedora-gnat-project-common sed dos2unix -BuildRequires: gnatcoll-core-devel = %{version} +Source: https://github.com/AdaCore/gnatcoll-bindings/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc-gnat gprbuild sed dos2unix +BuildRequires: fedora-gnat-project-common >= 3.15 +BuildRequires: gnatcoll-core-devel = %{epoch}:%{version} # Although it's not explicitly stated, I guess it's best to keep all the parts # of Gnatcoll on the same version number. BuildRequires: gmp-devel python3-devel readline-devel @@ -145,7 +143,7 @@ bindningar. %prep -%autosetup -n gnatcoll-bindings-gpl-%{version}-src +%autosetup # Convert line breaks. dos2unix --keepdate gmp/examples/gmp_examples.gpr @@ -163,11 +161,7 @@ done %{set_env} for subdir in gmp iconv %{?with_python:python} readline syslog ; do component=gnatcoll_${subdir} - gprinstall -P ${subdir}/${component}.gpr \ - --prefix=%{buildroot}%{_prefix} \ - --lib-subdir=%{buildroot}%{_libdir} \ - --ali-subdir=%{buildroot}%{_libdir}/${component} \ - --no-lib-link -m --create-missing-dirs + gprinstall -P ${subdir}/${component}.gpr --prefix=%{buildroot}/%{_prefix} %GPRinstall_flags ln --symbolic --force lib${component}.so.%{version} \ %{buildroot}%{_libdir}/lib${component}.so @@ -254,6 +248,14 @@ cp --preserve=timestamps COPYING3 %{buildroot}%{_licensedir}/%{name}/ %changelog +* Mon Jan 11 2021 Pavel Zhukov - 2:21.0.0-2 +- Specify fedora-gnat-projects-common version +- Remove obsolete comments + +* Mon Jan 11 2021 Pavel Zhukov - 2:21.0.0-1 +- New version 21.0.0 + + * Sat Aug 01 2020 Fedora Release Engineering - 2018-7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index d795293..901bb4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gnatcoll-bindings-gpl-2018-src.tar.gz) = 2d42e904ab7324d958b34b103ceb2cf7d9bf620f324578b8d3537c18bcc2b4ba73d553bbec773cde5d57979c3e68bc9eef69f97dd55a3b21e43d464881676295 +SHA512 (gnatcoll-bindings-21.0.0.tar.gz) = 9ee890497e860878bdb9f3d53fddeec862acd48c6b18cd322f3f3375cc2a7cad88e58abb7ec766e6e5dd9052d61a6454a9b269b81c382165f46c0173b427f3c2