1bf03d
%global major_version 5.4
1bf03d
# Normally, this is the same as version, but... not always.
1bf03d
%global test_version 5.4.2
1bf03d
# If you are incrementing major_version, enable bootstrapping and adjust accordingly.
1bf03d
# Version should be the latest prior build. If you don't do this, RPM will break and
1bf03d
# everything will grind to a halt.
1bf03d
%global bootstrap 1
1bf03d
%global bootstrap_major_version 5.3
1bf03d
%global bootstrap_version %{bootstrap_major_version}.5
1bf03d
1bf03d
# Place rpm-macros into proper location.
1bf03d
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
1bf03d
1bf03d
1bf03d
Name:           lua
1bf03d
Version:        %{major_version}.2
1bf03d
Release:        4%{?dist}
1bf03d
Summary:        Powerful light-weight programming language
1bf03d
License:        MIT
1bf03d
URL:            http://www.lua.org/
1bf03d
Source0:        http://www.lua.org/ftp/lua-%{version}.tar.gz
1bf03d
# copied from doc/readme.html on 2014-07-18
1bf03d
Source1:        mit.txt
1bf03d
%if 0%{?bootstrap}
1bf03d
Source2:        http://www.lua.org/ftp/lua-%{bootstrap_version}.tar.gz
1bf03d
%endif
1bf03d
Source3:        http://www.lua.org/tests/lua-%{test_version}-tests.tar.gz
1bf03d
# multilib
1bf03d
Source4:        luaconf.h
1bf03d
Patch0:         %{name}-5.4.0-beta-autotoolize.patch
1bf03d
Patch1:         %{name}-5.3.0-idsize.patch
1bf03d
#Patch2:         %%{name}-5.3.0-luac-shared-link-fix.patch
1bf03d
Patch3:         %{name}-5.2.2-configure-linux.patch
1bf03d
Patch4:         %{name}-5.3.0-configure-compat-module.patch
1bf03d
%if 0%{?bootstrap}
1bf03d
Patch5:         %{name}-5.3.0-autotoolize.patch
1bf03d
Patch6:		%{name}-5.3.5-luac-shared-link-fix.patch
1bf03d
%endif
1bf03d
# https://www.lua.org/bugs.html
1bf03d
Patch18:	%{name}-5.3.5-CVE-2020-24370.patch
1bf03d
1bf03d
BuildRequires:  automake autoconf libtool readline-devel ncurses-devel
1bf03d
BuildRequires: make
1bf03d
Requires:       lua-libs = %{version}-%{release}
1bf03d
1bf03d
%description
1bf03d
Lua is a powerful light-weight programming language designed for
1bf03d
extending applications. Lua is also frequently used as a
1bf03d
general-purpose, stand-alone language. Lua is free software.
1bf03d
Lua combines simple procedural syntax with powerful data description
1bf03d
constructs based on associative arrays and extensible semantics. Lua
1bf03d
is dynamically typed, interpreted from bytecodes, and has automatic
1bf03d
memory management with garbage collection, making it ideal for
1bf03d
configuration, scripting, and rapid prototyping.
1bf03d
1bf03d
%package devel
1bf03d
Summary:        Development files for %{name}
1bf03d
Requires:       %{name}%{?_isa} = %{version}-%{release}
1bf03d
# The RPM related dependencies bring nothing to a non-RPM Lua developer
1bf03d
# But we want them when packages BuildRequire lua-devel
1bf03d
Requires:       (lua-rpm-macros if rpm-build)
1bf03d
Requires:       pkgconfig
1bf03d
1bf03d
%description devel
1bf03d
This package contains development files for %{name}.
1bf03d
1bf03d
%package libs
1bf03d
Summary:        Libraries for %{name}
1bf03d
Provides:       lua(abi) = %{major_version}
1bf03d
1bf03d
%description libs
1bf03d
This package contains the shared libraries for %{name}.
1bf03d
1bf03d
%package static
1bf03d
Summary:        Static library for %{name}
1bf03d
Requires:       %{name}%{?_isa} = %{version}-%{release}
1bf03d
1bf03d
%description static
1bf03d
This package contains the static version of liblua for %{name}.
1bf03d
1bf03d
1bf03d
%prep
1bf03d
%if 0%{?bootstrap}
1bf03d
%setup -q -a 2 -a 3 -n %{name}-%{version}
1bf03d
%else
1bf03d
%setup -q -a 3
1bf03d
%endif
1bf03d
cp %{SOURCE1} .
1bf03d
mv src/luaconf.h src/luaconf.h.template.in
1bf03d
%patch0 -p1 -E -z .autoxxx
1bf03d
%patch1 -p1 -z .idsize
1bf03d
#%% patch2 -p1 -z .luac-shared
1bf03d
%patch3 -p1 -z .configure-linux
1bf03d
%patch4 -p1 -z .configure-compat-all
1bf03d
# Put proper version in configure.ac, patch0 hardcodes 5.3.0
1bf03d
sed -i 's|5.3.0|%{version}|g' configure.ac
1bf03d
autoreconf -ifv
1bf03d
1bf03d
%if 0%{?bootstrap}
1bf03d
cd lua-%{bootstrap_version}/
1bf03d
mv src/luaconf.h src/luaconf.h.template.in
1bf03d
%patch5 -p1 -b .autoxxx
1bf03d
%patch1 -p1 -b .idsize
1bf03d
%patch3 -p1 -z .configure-linux
1bf03d
%patch4 -p1 -z .configure-compat-all
1bf03d
%patch6 -p1 -b .luac-shared-link-fix
1bf03d
%patch18 -p1 -b .CVE-2020-24370
1bf03d
autoreconf -i
1bf03d
cd ..
1bf03d
%endif
1bf03d
1bf03d
1bf03d
%build
1bf03d
%configure --with-readline --with-compat-module
1bf03d
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1bf03d
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
1bf03d
# Autotools give me a headache sometimes.
1bf03d
sed -i 's|@pkgdatadir@|%{_datadir}|g' src/luaconf.h.template
1bf03d
1bf03d
# hack so that only /usr/bin/lua gets linked with readline as it is the
1bf03d
# only one which needs this and otherwise we get License troubles
1bf03d
make %{?_smp_mflags} LIBS="-lm -ldl"
1bf03d
# only /usr/bin/lua links with readline now #luac_LDADD="liblua.la -lm -ldl"
1bf03d
1bf03d
%if 0%{?bootstrap}
1bf03d
pushd lua-%{bootstrap_version}
1bf03d
%configure --with-readline --with-compat-module
1bf03d
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1bf03d
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
1bf03d
# Autotools give me a headache sometimes.
1bf03d
sed -i 's|@pkgdatadir@|%{_datadir}|g' src/luaconf.h.template
1bf03d
1bf03d
# hack so that only /usr/bin/lua gets linked with readline as it is the
1bf03d
# only one which needs this and otherwise we get License troubles
1bf03d
make %{?_smp_mflags} LIBS="-lm -ldl" luac_LDADD="liblua.la -lm -ldl"
1bf03d
popd
1bf03d
%endif
1bf03d
1bf03d
%check
1bf03d
cd ./lua-%{test_version}-tests/
1bf03d
1bf03d
# Dont skip the fully portable or ram-hungry tests:
1bf03d
# sed -i.orig -e '
1bf03d
#     /attrib.lua/d;
1bf03d
#     /files.lua/d;
1bf03d
#     /db.lua/d;
1bf03d
#     /errors.lua/d;
1bf03d
#     ' all.lua
1bf03d
# LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua all.lua
1bf03d
1bf03d
# Removing tests that fail under mock/koji
1bf03d
sed -i.orig -e '
1bf03d
    /db.lua/d;
1bf03d
    /errors.lua/d;
1bf03d
    ' all.lua
1bf03d
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua -e"_U=true" all.lua
1bf03d
1bf03d
%install
1bf03d
make install DESTDIR=$RPM_BUILD_ROOT
1bf03d
rm $RPM_BUILD_ROOT%{_libdir}/*.la
1bf03d
mkdir -p $RPM_BUILD_ROOT%{_libdir}/lua/%{major_version}
1bf03d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lua/%{major_version}
1bf03d
1bf03d
# Rename luaconf.h to luaconf-<arch>.h to avoid file conflicts on
1bf03d
# multilib systems and install luaconf.h wrapper
1bf03d
mv %{buildroot}%{_includedir}/luaconf.h %{buildroot}%{_includedir}/luaconf-%{_arch}.h
1bf03d
install -p -m 644 %{SOURCE4} %{buildroot}%{_includedir}/luaconf.h
1bf03d
1bf03d
%if 0%{?bootstrap}
1bf03d
pushd lua-%{bootstrap_version}
1bf03d
mkdir $RPM_BUILD_ROOT/installdir
1bf03d
make install DESTDIR=$RPM_BUILD_ROOT/installdir
1bf03d
cp -a $RPM_BUILD_ROOT/installdir/%{_libdir}/liblua-%{bootstrap_major_version}.so $RPM_BUILD_ROOT%{_libdir}/
1bf03d
mkdir -p $RPM_BUILD_ROOT%{_libdir}/lua/%{bootstrap_major_version}
1bf03d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lua/%{bootstrap_major_version}
1bf03d
rm -rf $RPM_BUILD_ROOT/installdir
1bf03d
popd
1bf03d
%endif
1bf03d
1bf03d
%files
1bf03d
%{!?_licensedir:%global license %%doc}
1bf03d
%license mit.txt
1bf03d
1bf03d
%doc README doc/*.html doc/*.css doc/*.gif doc/*.png
1bf03d
%{_bindir}/lua
1bf03d
%{_bindir}/luac
1bf03d
%{_mandir}/man1/lua*.1*
1bf03d
1bf03d
%files libs
1bf03d
%dir %{_libdir}/lua
1bf03d
%dir %{_libdir}/lua/%{major_version}
1bf03d
%{_libdir}/liblua-%{major_version}.so
1bf03d
%dir %{_datadir}/lua
1bf03d
%dir %{_datadir}/lua/%{major_version}
1bf03d
1bf03d
%if 0%{?bootstrap}
1bf03d
%dir %{_libdir}/lua/%{bootstrap_major_version}
1bf03d
%{_libdir}/liblua-%{bootstrap_major_version}.so
1bf03d
%dir %{_datadir}/lua/%{bootstrap_major_version}
1bf03d
%endif
1bf03d
1bf03d
%files devel
1bf03d
%{_includedir}/l*.h
1bf03d
%{_includedir}/l*.hpp
1bf03d
%{_libdir}/liblua.so
1bf03d
%{_libdir}/pkgconfig/*.pc
1bf03d
1bf03d
%files static
1bf03d
%{_libdir}/*.a
1bf03d
1bf03d
%changelog
1bf03d
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.4.2-4
1bf03d
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
1bf03d
  Related: rhbz#1991688
1bf03d
1bf03d
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.4.2-3
1bf03d
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
1bf03d
1bf03d
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.2-2
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1bf03d
1bf03d
* Thu Dec  3 2020 Tom Callaway <spot@fedoraproject.org> - 5.4.2-1
1bf03d
- update to 5.4.2
1bf03d
1bf03d
* Mon Oct 12 2020 Tom Callaway <spot@fedoraproject.org> - 5.4.1-1
1bf03d
- update to 5.4.1
1bf03d
1bf03d
* Wed Sep  2 2020 Tom Callaway <spot@fedoraproject.org> - 5.4.0-8
1bf03d
- apply upstream fix for CVE-2020-24342
1bf03d
1bf03d
* Mon Aug 31 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.4.0-7
1bf03d
- Refactor macros into lua-rpm-macros
1bf03d
1bf03d
* Wed Aug 19 2020 Tom Callaway <spot@fedoraproject.org> - 5.4.0-6
1bf03d
- apply upstream fix for CVE-2020-24370, CVE-2020-24371
1bf03d
1bf03d
* Wed Aug 19 2020 Tom Callaway <spot@fedoraproject.org> - 5.4.0-5
1bf03d
- apply upstream fix for CVE-2020-24369
1bf03d
1bf03d
* Fri Jul 31 2020 Tom Callaway <spot@fedoraproject.org> - 5.4.0-4
1bf03d
- apply upstream fix for CVE-2020-15889
1bf03d
- apply upstream fix for CVE-2020-15945
1bf03d
- apply upstream fixes for "known bugs"
1bf03d
1bf03d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.0-3
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1bf03d
1bf03d
* Tue Jun 30 2020 Miro Hrončok <mhroncok@redhat.com> - 5.4.0-2
1bf03d
- Add lua(abi) requirements generator (requires RPM 4.16+)
1bf03d
1bf03d
* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 5.4.0-1
1bf03d
- update to 5.4.0
1bf03d
1bf03d
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.5-7
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1bf03d
1bf03d
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.5-6
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1bf03d
1bf03d
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.3.5-5
1bf03d
- Rebuild for readline 8.0
1bf03d
1bf03d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.5-4
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1bf03d
1bf03d
* Mon Jan 28 2019 Tom Callaway <spot@fedoraproject.org> - 5.3.5-3
1bf03d
- apply fix for CVE-2019-6706 (bz1670020)
1bf03d
1bf03d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.5-2
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1bf03d
1bf03d
* Tue Jul 10 2018 Tom Callaway <spot@fedoraproject.org> - 5.3.5-1
1bf03d
- update to 5.3.5
1bf03d
1bf03d
* Tue Feb 13 2018 Tom Callaway <spot@fedoraproject.org> - 5.3.4-10
1bf03d
- move lua(abi) provide to -libs
1bf03d
- add fix for bug 6
1bf03d
1bf03d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.4-9
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1bf03d
1bf03d
* Tue Jan  2 2018 Richard W.M. Jones <rjones@redhat.com> - 5.3.4-8
1bf03d
- Unnecessary change to RISC-V macros in GCC requires change in luaconf.h.
1bf03d
1bf03d
* Mon Dec  4 2017 Tom Callaway <spot@fedoraproject.org> - 5.3.4-7
1bf03d
- fix pkgconfig provides (bz1519921)
1bf03d
1bf03d
* Sun Oct 29 2017 Tom Callaway <spot@fedoraproject.org> - 5.3.4-6
1bf03d
- apply known upstream bugfixes
1bf03d
1bf03d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.4-5
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1bf03d
1bf03d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.4-4
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1bf03d
1bf03d
* Sun May 28 2017 Björn Esser <besser82@fedoraproject.org> - 5.3.4-3
1bf03d
- Refactor macros to a more common syntax
1bf03d
- Use rpm's build-in lua for macros
1bf03d
1bf03d
* Wed May 24 2017 Björn Esser <besser82@fedoraproject.org> - 5.3.4-2
1bf03d
- Add rpm-macros file, providing packaging macros for lua add-ons (#1447324)
1bf03d
1bf03d
* Thu Feb  9 2017 Tom Callaway <spot@fedoraproject.org> 5.3.4-1
1bf03d
- update to 5.3.4
1bf03d
1bf03d
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 5.3.3-4
1bf03d
- Rebuild for readline 7.x
1bf03d
1bf03d
* Tue Jul 26 2016 Tom Callaway <spot@fedoraproject.org> - 5.3.3-3
1bf03d
- create lua-libs subpackage
1bf03d
- disable bootstrap
1bf03d
1bf03d
* Mon Jul 25 2016 Tom Callaway <spot@fedoraproject.org> - 5.3.3-2
1bf03d
- apply fixes for upstream bug 1 & 2
1bf03d
1bf03d
* Tue Jun  7 2016 Tom Callaway <spot@fedoraproject.org> - 5.3.3-1
1bf03d
- update to 5.3.3
1bf03d
1bf03d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.2-3
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1bf03d
1bf03d
* Fri Dec 11 2015 Tom Callaway <spot@fedoraproject.org> - 5.3.2-2
1bf03d
- fix multilib support (#1229992)
1bf03d
1bf03d
* Fri Dec 11 2015 "D. Johnson" <fenris02@fedoraproject.org> - 5.3.2-1
1bf03d
- Update to 5.3.2 (#1039249,1173984)
1bf03d
1bf03d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-4
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1bf03d
1bf03d
* Fri Mar 20 2015 Kalev Lember <kalevlember@gmail.com> - 5.3.0-3
1bf03d
- Define LUA_COMPAT_5_2 in addition to LUA_COMPAT_5_1 (#1204129)
1bf03d
1bf03d
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 5.3.0-2
1bf03d
- Rebuilt for Fedora 23 Change
1bf03d
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
1bf03d
1bf03d
* Thu Jan 15 2015 Tom Callaway <spot@fedoraproject.org> - 5.3.0-1
1bf03d
- update to 5.3.0
1bf03d
- add bootstrapping glue
1bf03d
1bf03d
* Wed Dec 10 2014 Tom Callaway <spot@fedoraproject.org> - 5.2.3-1
1bf03d
- update to 5.2.3
1bf03d
1bf03d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.2-8
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1bf03d
1bf03d
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 5.2.2-7
1bf03d
- fix license handling
1bf03d
1bf03d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.2-6
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1bf03d
1bf03d
* Wed Oct 23 2013 Tom Callaway <spot@fedoraproject.org> - 5.2.2-5
1bf03d
- readd and fix configure-compat-module.patch to use LUA_CONFIG_ALL instead
1bf03d
1bf03d
* Wed Oct 23 2013 Tom Callaway <spot@fedoraproject.org> - 5.2.2-4
1bf03d
- drop configure-compat-module.patch, if you really need old lua behavior, use compat-lua
1bf03d
1bf03d
* Mon Aug 05 2013 Hans de Goede <hdegoede@redhat.com> - 5.2.2-3
1bf03d
- Drop compat-lua-libs package, as there now is a separate compat-lua
1bf03d
  package (including a -devel)
1bf03d
1bf03d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.2-2
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1bf03d
1bf03d
* Thu Apr 11 2013 Tom Callaway <spot@fedoraproject.org> - 5.2.2-1
1bf03d
- update to 5.2.2
1bf03d
- incorporate Aaron Faanes's changes
1bf03d
1bf03d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.4-12
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1bf03d
1bf03d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.4-11
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1bf03d
1bf03d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.4-10
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1bf03d
1bf03d
* Wed Apr 06 2011 Tim Niemueller <tim@niemueller.de> - 5.1.4-9
1bf03d
- Provide lua(abi) = 5.1 for better distro updates later
1bf03d
1bf03d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.4-8
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1bf03d
1bf03d
* Fri Jan 28 2011 Tim Niemueller <tim@niemueller.de> - 5.1.4-7
1bf03d
- Add patch to from lua.org with smaller bugfixes
1bf03d
- sed -i -e 's/5\.1\.3/5.1.4/g' on autotoolize patch, bug #641144
1bf03d
1bf03d
* Fri Jan 28 2011 Tim Niemueller <tim@niemueller.de> - 5.1.4-6
1bf03d
- Add patch to increase IDSIZE for more useful error messages
1bf03d
1bf03d
* Sun May 09 2010 Tim Niemueller <tim@niemueller.de> - 5.1.4-5
1bf03d
- Add patch regarding dlopen flags to support Lunatic (Lua-Python bridge)
1bf03d
1bf03d
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.4-4
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1bf03d
1bf03d
* Thu Jun 11 2009 Tim Niemueller <tim@niemueller.de> - 5.1.4-2
1bf03d
- Link liblua.so with -lm (math lib), fixes rhbz #499238
1bf03d
1bf03d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.4-2
1bf03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1bf03d
1bf03d
* Wed Sep 03 2008 Tim Niemueller <tim@niemueller.de> - 5.1.4-1
1bf03d
- New upstream release 5.1.4
1bf03d
1bf03d
* Mon May 12 2008 Tim Niemueller <tim@niemueller.de> - 5.1.3-6
1bf03d
- Add -static subpackage with static liblua, fixes rh bug #445939
1bf03d
1bf03d
* Sun Apr 13 2008 Tim Niemueller <tim@niemueller.de> - 5.1.3-5
1bf03d
- Provide lua = 5.1, this way add-on packages can easily depend on the Lua
1bf03d
  base version and expect certain paths for packages
1bf03d
1bf03d
* Sat Apr  5 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.3-4
1bf03d
- Not only own $libdir/lua/5.1 and $datadir/lua/5.1 but also $libdir/lua
1bf03d
  and $datadir/lua for proper removal of these dirs upon lua removal
1bf03d
1bf03d
* Fri Mar 14 2008 Tim Niemueller <tim@niemueller.de> - 5.1.3-3
1bf03d
- own $libdir/lua/5.1 and $datadir/lua/5.1. These are the standard package
1bf03d
  search path for Lua. Packaging them properly allows for easy creation of
1bf03d
  Lua addon packages.
1bf03d
1bf03d
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.1.3-2
1bf03d
- Autorebuild for GCC 4.3
1bf03d
1bf03d
* Sat Jan 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.3-1
1bf03d
- New upstream release 5.1.3
1bf03d
1bf03d
* Mon Nov 26 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-4
1bf03d
- Fix libdir in lua.pc being /usr/lib on x86_64 (bz 399101)
1bf03d
1bf03d
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-3
1bf03d
- Also use lib64 instead of lib on ia64 and sparc64 
1bf03d
1bf03d
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-2
1bf03d
- Fix multilib condlict in luaconf.h (bz 342561)
1bf03d
1bf03d
* Mon Apr  2 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-1
1bf03d
- New upstream release 5.1.2
1bf03d
- Fix use of rpath on x86_64
1bf03d
1bf03d
* Fri Jan 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.1-3
1bf03d
- Remove "-lreadline -lncurses" from lua.pc (bz 213895)
1bf03d
1bf03d
* Sun Oct 15 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.1-2
1bf03d
- Only link /usr/bin/lua with readline / do not link %%{_libdir}/liblua-5.1.so
1bf03d
  with readline so that we don't cause any License troubles for packages
1bf03d
  linking against liblua-5.1.so, otherwise lua could drag the GPL only readline
1bf03d
  lib into the linking of non GPL apps.
1bf03d
1bf03d
* Sat Oct 14 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.1-1
1bf03d
- New upstream release 5.1.1
1bf03d
- Fix detection of readline during compile (iow add readline support back)
1bf03d
1bf03d
* Sun Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-7
1bf03d
- Rebuild for FC6
1bf03d
1bf03d
* Thu Jun 08 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-6
1bf03d
- fixed broken provides
1bf03d
1bf03d
* Tue Jun 06 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-5
1bf03d
- split out devel subpackage
1bf03d
1bf03d
* Thu Jun 01 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-4
1bf03d
- added Requires for pkgconfig BZ#193674
1bf03d
1bf03d
* Mon May 29 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-3
1bf03d
- added autotools patch from Petri Lehtinen, http://lua-users.org
1bf03d
1bf03d
* Mon May 08 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-2
1bf03d
- fixed x86_64 builds
1bf03d
1bf03d
* Mon May 08 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-1
1bf03d
- version bump
1bf03d
1bf03d
* Sun Oct 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 5.0.2-5
1bf03d
- Fix -debuginfo (#165304).
1bf03d
- Cosmetic specfile improvements.
1bf03d
1bf03d
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 5.0.2-4
1bf03d
- rebuild on all arches
1bf03d
1bf03d
* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 5.0.2-3
1bf03d
- rebuilt
1bf03d
1bf03d
* Sat Feb 12 2005 David Woodhouse <dwmw2@infradead.org> - 5.0.2-2
1bf03d
- Don't use fastround on ppc
1bf03d
1bf03d
* Tue Feb 01 2005 Panu Matilainen <pmatilai@welho.com> - 5.0.2-1
1bf03d
- update to 5.0.2
1bf03d
- remove epoch 0, drop fedora.us release tag
1bf03d
1bf03d
* Mon Nov 17 2003 Oren Tirosh <oren at hishome.net> - 0:5.0-0.fdr.2
1bf03d
- Enable readline support.
1bf03d
1bf03d
* Sat Jun 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.1
1bf03d
- First build.