Kalev Lember wrote:
> aws                     landgraf

Here's a patch to include the missing library that prevents installation
of aws-tools.

To get it to build I had to disable PDF generation and build only HTML
documents. There is a PDF file in the latest built package so it must
have worked before, but currently it seems to be broken. I don't know
enough about Texlive to solve it quickly.

Björn Persson
From 893d0db744f4ddbe9c6d686f6a4337b5fdba5e98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Persson?= <Bjorn@Rombobjörn.se>
Date: Thu, 24 Sep 2015 23:52:08 +0200
Subject: [PATCH] Make aws-tools installable.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

· Added a quick fix to package libaws_ssl.so.
· Disabled PDF generation as it doesn't currently work.
---
 aws.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/aws.spec b/aws.spec
index e7eb04a..4b58a2e 100644
--- a/aws.spec
+++ b/aws.spec
@@ -3,7 +3,7 @@
 %global with_gps 0
 Name:       aws 
 Version:    2015
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    Ada Web Server
 
 Group:      System Environment/Libraries
@@ -87,12 +87,15 @@ rm -rf include/zlib*
 %build
 make setup DEFAULT_LIBRARY_TYPE=relocatable ENABLE_SHARED=true GPRBUILD="gprbuild %GPRbuild_optflags"
 make LIBRARY_TYPE=relocatable GPRBUILD="gprbuild %GPRbuild_optflags"
-make build-doc
+# PDF generation seems to be broken so generate only HTML documents.
+make -C docs html
 
 
 %install
 make install DESTDIR=%{buildroot}  I_GPR="%_GNAT_project_dir"  \
 I_LIB=%{buildroot}%{_libdir} prefix=%{_prefix}
+# Add the missing libaws_ssl.so that the tools are linked to.
+cp .build/*/debug/relocatable/lib/ssl/libaws_ssl.so %{buildroot}%{_libdir}/
 ##install_man_pages:
 mkdir -p %{buildroot}/%{_mandir}/man1/
 for i in `ls *.1`; do gzip -c $i >> %{buildroot}/%{_mandir}/man1/$i.gz; done
@@ -113,6 +116,7 @@ rm -rf %{buildroot}/%{_datadir}/gps
 %dir %{_libdir}/%{name}
 %{_libdir}/lib%{name}-%{version}.so
 %{_libdir}/%{name}/lib%{name}-%{version}.so
+%{_libdir}/lib%{name}_ssl.so
 
 
 %files devel
@@ -135,6 +139,10 @@ rm -rf %{buildroot}/%{_datadir}/gps
 
 
 %changelog
+* Thu Sep 24 2015 Björn Persson <Bjorn@Rombobjörn.se> - 2015-3
+- Added the missing libaws_ssl.so.
+- Disabled PDF generation as it doesn't currently work.
+
 * Fri Jun 26 2015 Pavel Zhukov <landg...@fedoraproject.org> - 2015-2
 - Remove references to gnutls rsa_params as deprecated 
 
-- 
2.1.0

Attachment: pgpyezu6Aax8z.pgp
Description: OpenPGP digital signatur

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to