diff --git a/0001-remove-stray-LT_END_DECLS.patch b/0001-remove-stray-LT_END_DECLS.patch new file mode 100644 index 0000000..934bd8a --- /dev/null +++ b/0001-remove-stray-LT_END_DECLS.patch @@ -0,0 +1,27 @@ +From 12ab0b348c69b088fc6f939994fb6991a9b4bed4 Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Fri, 27 Mar 2015 12:44:55 +0100 +Subject: [PATCH] remove stray LT_END_DECLS + +LT_BEGIN_DECLS / LT_END_DECLS is not needed, because lt-config.h only +defines macros. +--- + configure.ac | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4e44822..7eb8208 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -421,8 +421,6 @@ ____EOS + + cat >> $outfile<<____EOS + +-LT_END_DECLS +- + #endif /* __LT_CONFIG_H__ */ + ____EOS + +-- +2.3.4 + diff --git a/liblangtag.spec b/liblangtag.spec index 844c8fb..de49e35 100644 --- a/liblangtag.spec +++ b/liblangtag.spec @@ -3,7 +3,7 @@ Name: liblangtag Version: 0.5.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: An interface library to access tags for identifying languages License: (LGPLv3+ or MPLv2.0) and UCD @@ -11,7 +11,9 @@ URL: http://tagoh.bitbucket.org/liblangtag/ Source0: https://bitbucket.org/tagoh/%{name}/downloads/%{name}-%{version}.tar.bz2 Patch0: 0001-install-lt-config.h-it-s-included-from-langtag.h.patch +Patch1: 0001-remove-stray-LT_END_DECLS.patch +BuildRequires: autoconf BuildRequires: automake BuildRequires: glibc-common BuildRequires: gtk-doc @@ -69,6 +71,7 @@ The %{name}-doc package contains documentation files for %{name}. %build aclocal +autoconf automake %configure --disable-silent-rules --disable-static --enable-shared --enable-introspection sed -i \ @@ -116,6 +119,9 @@ make %{?_smp_mflags} check %{_datadir}/gtk-doc/html/%{name} %changelog +* Fri Mar 27 2015 David Tardon - 0.5.5-3 +- another header fix + * Fri Mar 27 2015 David Tardon - 0.5.5-2 - fix installation of headers