dtardon pushed to liblangtag (f22). "fix installation of headers"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Mar 27 09:22:28 UTC 2015


>From 604cbc64ba9d21267b5930649915d3469b8e4ee6 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon at redhat.com>
Date: Fri, 27 Mar 2015 10:09:48 +0100
Subject: fix installation of headers


diff --git a/0001-install-lt-config.h-it-s-included-from-langtag.h.patch b/0001-install-lt-config.h-it-s-included-from-langtag.h.patch
new file mode 100644
index 0000000..0708b1d
--- /dev/null
+++ b/0001-install-lt-config.h-it-s-included-from-langtag.h.patch
@@ -0,0 +1,32 @@
+From 4c9d082660e73d7b37ec07280f78d3bfbdb4c1f4 Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon at redhat.com>
+Date: Fri, 27 Mar 2015 09:58:29 +0100
+Subject: [PATCH] install lt-config.h: it's included from langtag.h
+
+---
+ liblangtag/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/liblangtag/Makefile.am b/liblangtag/Makefile.am
+index 360222c..4b09abb 100644
+--- a/liblangtag/Makefile.am
++++ b/liblangtag/Makefile.am
+@@ -77,7 +77,6 @@ liblangtag_public_headers =			\
+ 	$(NULL)
+ liblangtag_private_headers =			\
+ 	lt-atomic.h				\
+-	lt-config.h				\
+ 	lt-ext-module-private.h			\
+ 	lt-extension-private.h			\
+ 	lt-extlang-private.h			\
+@@ -98,6 +97,7 @@ liblangtag_private_headers =			\
+ 	lt-xml.h				\
+ 	$(NULL)
+ liblangtag_built_public_headers =		\
++	lt-config.h				\
+ 	$(NULL)
+ liblangtag_built_private_headers =		\
+ 	lt-localealias.h			\
+-- 
+2.3.4
+
diff --git a/liblangtag.spec b/liblangtag.spec
index 668b6e2..844c8fb 100644
--- a/liblangtag.spec
+++ b/liblangtag.spec
@@ -3,13 +3,16 @@
 
 Name: liblangtag
 Version: 0.5.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: An interface library to access tags for identifying languages
 
 License: (LGPLv3+ or MPLv2.0) and UCD
 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
+
+BuildRequires: automake
 BuildRequires: glibc-common
 BuildRequires: gtk-doc
 BuildRequires: libtool
@@ -62,9 +65,11 @@ BuildArch: noarch
 The %{name}-doc package contains documentation files for %{name}.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
+aclocal
+automake
 %configure --disable-silent-rules --disable-static --enable-shared --enable-introspection
 sed -i \
     -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
@@ -111,6 +116,9 @@ make %{?_smp_mflags} check
 %{_datadir}/gtk-doc/html/%{name}
 
 %changelog
+* Fri Mar 27 2015 David Tardon <dtardon at redhat.com> - 0.5.5-2
+- fix installation of headers
+
 * Fri Mar 20 2015 David Tardon <dtardon at redhat.com> - 0.5.5-1
 - new upstream release
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/liblangtag.git/commit/?h=f22&id=604cbc64ba9d21267b5930649915d3469b8e4ee6


More information about the scm-commits mailing list