summaryrefslogtreecommitdiffstats
path: root/lua.spec
diff options
context:
space:
mode:
authorTim Niemueller <timn@fedoraproject.org>2008-03-14 10:24:26 +0000
committerTim Niemueller <timn@fedoraproject.org>2008-03-14 10:24:26 +0000
commitf4f01698414e1940659318e22266ad52998cc3a5 (patch)
tree94f8377cf5fd9950d9772dd7341a3d55e981efea /lua.spec
parenteb242124fb67d2a0a690123eefe3128c019006c5 (diff)
own $libdir/lua/5.1 and $datadir/lua/5.1. These are the standard packagelua-5_1_3-3_fc8
search path for Lua. Packaging them properly allows for easy creation of Lua addon packages. timn
Diffstat (limited to 'lua.spec')
-rw-r--r--lua.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/lua.spec b/lua.spec
index f173da1..4e36c38 100644
--- a/lua.spec
+++ b/lua.spec
@@ -1,6 +1,6 @@
Name: lua
Version: 5.1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Powerful light-weight programming language
Group: Development/Languages
License: MIT
@@ -53,6 +53,8 @@ sed -i 's/-lreadline -lncurses //g' etc/lua.pc
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/lua/5.1
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/lua/5.1
%clean
@@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/lua*
%{_libdir}/liblua-*.so
%{_mandir}/man1/lua*.1*
+%dir %{_libdir}/lua/5.1
+%dir %{_datadir}/lua/5.1
+
%files devel
%defattr(-,root,root,-)
@@ -75,6 +80,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* 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
+ Lua addon packages.
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.1.3-2
- Autorebuild for GCC 4.3