- Properly set includedir in the .pc file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua53?expand=0&rev=21
This commit is contained in:
Tomáš Chvátal 2017-07-20 12:41:22 +00:00 committed by Git OBS Bridge
parent 8694fd60bf
commit 0dfed3ac78
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 11:32:37 UTC 2017 - tchvatal@suse.com Mon Jul 10 11:32:37 UTC 2017 - tchvatal@suse.com

View File

@ -150,7 +150,7 @@ Name: Lua %{major_version}
Description: An Extensible Extension Language Description: An Extensible Extension Language
Version: %{version} Version: %{version}
Libs: -llua%{major_version} -lm Libs: -llua%{major_version} -lm
Cflags: Cflags: -I\${includedir}
EOF EOF
install -D -m 644 lua%{major_version}.pc %{buildroot}/%{_libdir}/pkgconfig/lua%{major_version}.pc install -D -m 644 lua%{major_version}.pc %{buildroot}/%{_libdir}/pkgconfig/lua%{major_version}.pc