- Properly set includedir in the .pc file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua51?expand=0&rev=20
This commit is contained in:
Tomáš Chvátal 2017-07-20 12:36:13 +00:00 committed by Git OBS Bridge
parent 77a078061e
commit a157918ffe
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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