summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Niemueller <timn@fedoraproject.org>2008-03-14 10:20:17 +0000
committerTim Niemueller <timn@fedoraproject.org>2008-03-14 10:20:17 +0000
commit76b6600768e6265fb043d9b8368479a5b977e2b8 (patch)
tree975489bca7d8a264f1848fa5a9067b52f782fbbb
parent8e0d0400e627091f678a5f299dc7d00c01e39f30 (diff)
downloadlua-76b6600768e6265fb043d9b8368479a5b977e2b8.tar.gz
lua-76b6600768e6265fb043d9b8368479a5b977e2b8.tar.xz
lua-76b6600768e6265fb043d9b8368479a5b977e2b8.zip
own $libdir/lua/5.1 and $datadir/lua/5.1. These are the standard packagelua-5_1_3-3_fc9
search path for Lua. Packaging them properly allows for easy creation of Lua addon packages. timn
-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