The package rpms/zlib-ada.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/zlib-ada.git/commit/?id=d31c3e832....
Change:
+ExclusiveArch: %{GPRbuild_arches}
Thanks.
Full change:
============
commit d31c3e832735621ad46dc56b2492734e1d6fa278
Author: Björn Persson <Bjorn(a)xn--rombobjrn-67a.se>
Date: Sun Feb 4 15:04:11 2018 +0100
Switched to building with GPRbuild.
Project file support was removed from Gnatmake in GCC 8.
diff --git a/zlib-ada.spec b/zlib-ada.spec
index 11fc6e1..06d3a5a 100644
--- a/zlib-ada.spec
+++ b/zlib-ada.spec
@@ -1,6 +1,6 @@
Name: zlib-ada
Version: 1.4
-Release: 0.18.20120830CVS%{?dist}
+Release: 0.19.20120830CVS%{?dist}
Summary: Zlib for Ada
Summary(sv): Zlib för ada
@@ -16,10 +16,11 @@ Source: zlib-ada-20120830.tar.bz2
Source2: build_zlib_ada.gpr
Source3: zlib_ada.gpr
-BuildRequires: gcc-gnat >= 4.7 fedora-gnat-project-common zlib-devel chrpath
-# Gnatmake learned about external_as_list sometime between 4.4 and 4.7.
-# Build only on architectures where gcc-gnat is available:
-ExclusiveArch: %{GNAT_arches}
+BuildRequires: gcc-gnat fedora-gnat-project-common
+BuildRequires: gprbuild
+BuildRequires: zlib-devel
+# Build only on architectures where GPRbuild is available:
+ExclusiveArch: %{GPRbuild_arches}
%global common_description_en \
Zlib-Ada is a thick Ada binding to the popular compression/decompression \
@@ -59,9 +60,7 @@ cp %{SOURCE2} .
%build
-gnatmake -P build_zlib_ada.gpr %{Gnatmake_optflags} -XDESTDIR=build_target
-XLDFLAGS='%{__global_ldflags}'
-# Remove the unnecessary runpath that Gnatmake added.
-chrpath --delete build_target%{_libdir}/*.so.*
+gprbuild -P build_zlib_ada.gpr %{GPRbuild_optflags} -XDESTDIR=build_target
-XLDFLAGS='%{__global_ldflags}'
%install
@@ -94,6 +93,10 @@ cp --preserve=timestamps %{SOURCE3} %{buildroot}%{_GNAT_project_dir}/
%changelog
+* Sun Feb 04 2018 Björn Persson <Bjorn(a)xn--rombobjrn-67a.se> - 1.4-0.19.20120830CVS
+- Switched to building with GPRbuild as project file support was removed from
+ Gnatmake in GCC 8.
+
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.4-0.18.20120830CVS
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
commit 631861e8b713877813ae4febdf5e3f794eec870c
Author: Björn Persson <Bjorn(a)xn--rombobjrn-67a.se>
Date: Sun Feb 4 15:04:11 2018 +0100
Dropped the separate Object_Dir.
Debugsource packages don't conflict these days, and this usage of Object_Dir
triggered a weird bug in GPRbuild.
diff --git a/build_zlib_ada.gpr b/build_zlib_ada.gpr
index 6150b81..1db3be4 100644
--- a/build_zlib_ada.gpr
+++ b/build_zlib_ada.gpr
@@ -21,10 +21,6 @@ library project Build_Zlib_Ada is
for Library_ALI_Dir use Destdir & Directories.Libdir & "/zlib-ada";
for Library_Options use ("-lz") & external_as_list("LDFLAGS",
" ");
- -- Put the binder files for different architectures in subdirectories where
- -- they won't conflict with each other.
- for Object_Dir use Directories.Hardware_Platform;
-
for Source_Files use ("zlib.ads",
"zlib.adb",
"zlib-streams.ads",