Hello community, here is the log from the commit of package lua for openSUSE:Factory checked in at 2012-01-07 08:39:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua (Old) and /work/SRC/openSUSE:Factory/.lua.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua", Maintainer is "pgaj...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/lua/lua.changes 2012-01-06 11:46:04.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lua.new/lua.changes 2012-01-07 08:39:07.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Jan 6 18:17:22 CET 2012 - dmuel...@suse.de + +- readd lua.pc for building rpm + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua.spec ++++++ --- /var/tmp/diff_new_pack.dkodZc/_old 2012-01-07 08:39:08.000000000 +0100 +++ /var/tmp/diff_new_pack.dkodZc/_new 2012-01-07 08:39:08.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package lua # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,20 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: lua Version: 5.2.0 -Release: 17 +Release: 0 %define major_version 5.2 %define libsuf 5_2 -License: MIT -Group: System/Libraries -AutoReqProv: on -BuildRequires: pkg-config readline-devel update-alternatives +BuildRequires: pkg-config +BuildRequires: readline-devel +BuildRequires: update-alternatives PreReq: update-alternatives Summary: Small Embeddable Language with Simple Procedural Syntax +License: MIT +Group: System/Libraries Url: http://www.lua.org Source: %{name}-%{version}.tar.bz2 Source1: macros.lua @@ -51,7 +49,6 @@ simplicity, efficiency, portability, and low embedding cost. %package devel -License: MIT Summary: Development files for lua Group: Development/Libraries/C and C++ Requires: %{name} = %{version} @@ -67,7 +64,6 @@ application. %package -n liblua%{libsuf} -License: MIT Summary: Small Embeddable Language with Simple Procedural Syntax Group: System/Libraries Provides: %{name}-libs = 5.1.3 @@ -87,7 +83,6 @@ simplicity, efficiency, portability, and low embedding cost. %package doc -License: MIT Summary: Small Embeddable Language with Simple Procedural Syntax Group: System/Libraries %if 0%{?suse_version} >= 1120 @@ -122,6 +117,22 @@ done install -D %{SOURCE1} %buildroot/etc/rpm/macros.lua +# create pkg-config file +cat > lua.pc <<-EOF +prefix=%_prefix +exec_prefix=%_prefix +libdir=%_libdir +includedir=%_prefix}/include + +Name: Lua +Description: An Extensible Extension Language +Version: %version +Requires: +Libs: -llua -lm +Cflags: +EOF +install -D -m 644 lua.pc %buildroot/%_libdir/pkgconfig/lua.pc + %clean rm -rf $RPM_BUILD_ROOT @@ -167,6 +178,7 @@ %{_includedir}/lualib.h %{_libdir}/liblua.a %{_libdir}/liblua.so +%{_libdir}/pkgconfig/lua.pc %files doc %defattr(-,root,root) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org