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