From a157918ffe456fa61f170b91ae13fb3b3cb0e61cb81a33346f1a8e4485fd21ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 20 Jul 2017 12:36:13 +0000 Subject: [PATCH] - Properly set includedir in the .pc file OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua51?expand=0&rev=20 --- lua51.changes | 5 +++++ lua51.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lua51.changes b/lua51.changes index e3f9e8b..5790c57 100644 --- a/lua51.changes +++ b/lua51.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 20 12:36:41 UTC 2017 - tchvatal@suse.com + +- Properly set includedir in the .pc file + ------------------------------------------------------------------- Mon Jul 10 14:29:15 UTC 2017 - tchvatal@suse.com diff --git a/lua51.spec b/lua51.spec index d76e437..c9b56a4 100644 --- a/lua51.spec +++ b/lua51.spec @@ -143,7 +143,7 @@ Name: Lua %{major_version} Description: An Extensible Extension Language Version: %{version} Libs: -llua%{major_version} -lm -Cflags: +Cflags: -I${includedir} EOF install -D -m 644 lua%{major_version}.pc %{buildroot}/%{_libdir}/pkgconfig/lua%{major_version}.pc