* 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

* Sat Apr  5 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.3-4
- Not only own $libdir/lua/5.1 and $datadir/lua/5.1 but also $libdir/lua
  and $datadir/lua for proper removal of these dirs upon lua removal
This commit is contained in:
Tim Niemueller 2008-04-13 20:42:28 +00:00
parent f4f0169841
commit 7eec0b5a4b
1 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: lua
Version: 5.1.3
Release: 3%{?dist}
Release: 5%{?dist}
Summary: Powerful light-weight programming language
Group: Development/Languages
License: MIT
@ -9,6 +9,7 @@ Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
Patch0: lua-5.1.3-autotoolize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: readline-devel ncurses-devel
Provides: lua = 5.1
%description
Lua is a powerful light-weight programming language designed for
@ -67,7 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/lua*
%{_libdir}/liblua-*.so
%{_mandir}/man1/lua*.1*
%dir %{_libdir}/lua
%dir %{_libdir}/lua/5.1
%dir %{_datadir}/lua
%dir %{_datadir}/lua/5.1
@ -80,6 +83,14 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* 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
* Sat Apr 5 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.3-4
- Not only own $libdir/lua/5.1 and $datadir/lua/5.1 but also $libdir/lua
and $datadir/lua for proper removal of these dirs upon lua removal
* Fri Mar 14 2008 Tim Niemueller <tim@niemueller.de> - 5.1.3-3
- own $libdir/lua/5.1 and $datadir/lua/5.1. These are the standard package
search path for Lua. Packaging them properly allows for easy creation of