Compare commits

...

6 Commits
rawhide ... f9

Author SHA1 Message Date
Fedora Release Engineering 57a67dd4d3 dist-git conversion 2010-10-07 00:55:35 +00:00
Bill Nottingham 0d0da2fa2e Fix typo that causes a failure to update the common directory. (releng #2781) 2009-11-26 01:58:41 +00:00
Tim Niemueller 258382c44f Link liblua.so with -lm (math lib), fixes rhbz #499238 2009-06-11 22:31:56 +00:00
Tim Niemueller e12aeb2571 New upstream release 5.1.4 2008-09-03 11:54:31 +00:00
Tim Niemueller 69599a9543 Add -static subpackage with static liblua.a, fix for #445939 2008-05-12 16:59:22 +00:00
Jesse Keating ad9a75b016 Initialize branch F-9 for lua 2008-04-22 21:12:41 +00:00
7 changed files with 20157 additions and 20128 deletions

View File

@ -1 +0,0 @@
lua-5.1.3.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
lua-5.1.4.tar.gz

View File

@ -4,7 +4,7 @@ NAME := lua
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))

1
branch Normal file
View File

@ -0,0 +1 @@
F-9

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,12 @@
Name: lua
Version: 5.1.3
Release: 5%{?dist}
Version: 5.1.4
Release: 2%{?dist}
Summary: Powerful light-weight programming language
Group: Development/Languages
License: MIT
URL: http://www.lua.org/
Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
Patch0: lua-5.1.3-autotoolize.patch
Patch0: lua-5.1.4-autotoolize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: readline-devel ncurses-devel
Provides: lua = 5.1
@ -31,6 +31,14 @@ Requires: pkgconfig
%description devel
This package contains development files for %{name}.
%package static
Summary: Static library for %{name}
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description static
This package contains the static version of liblua for %{name}.
%prep
%setup -q
@ -45,7 +53,7 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# hack so that only /usr/bin/lua gets linked with readline as it is the
# only one which needs this and otherwise we get License troubles
make %{?_smp_mflags} LIBS="-ldl" luac_LDADD="liblua.la -lm -ldl"
make %{?_smp_mflags} LIBS="-lm -ldl" luac_LDADD="liblua.la -lm -ldl"
# also remove readline from lua.pc
sed -i 's/-lreadline -lncurses //g' etc/lua.pc
@ -53,7 +61,7 @@ sed -i 's/-lreadline -lncurses //g' etc/lua.pc
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
rm $RPM_BUILD_ROOT%{_libdir}/*.la
mkdir -p $RPM_BUILD_ROOT%{_libdir}/lua/5.1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lua/5.1
@ -81,8 +89,20 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/liblua.so
%{_libdir}/pkgconfig/*.pc
%files static
%defattr(-,root,root,-)
%{_libdir}/*.a
%changelog
* Thu Jun 11 2009 Tim Niemueller <tim@niemueller.de> - 5.1.4-2
- Link liblua.so with -lm (math lib), fixes rhbz #499238
* Wed Sep 03 2008 Tim Niemueller <tim@niemueller.de> - 5.1.4-1
- New upstream release 5.1.4
* Mon May 12 2008 Tim Niemueller <tim@niemueller.de> - 5.1.3-6
- Add -static subpackage with static liblua, fixes rh bug #445939
* Sun Apr 13 2008 Tim Niemueller <tim@niemueller.de> - 5.1.3-5
- Provide lua = 5.1, this way add-on packages can easily depend on the Lua
base version and expect certain paths for packages

View File

@ -1 +1 @@
a70a8dfaa150e047866dc01a46272599 lua-5.1.3.tar.gz
d0870f2de55d59c1c8419f36e8fac150 lua-5.1.4.tar.gz