]> git.pld-linux.org Git - packages/lua-filesystem.git/commitdiff
- shared libraries should be copied to buildroot (for rpm autodeps) and packaged... auto/th/lua-filesystem-1_4_1-1 auto/ti/lua-filesystem-1_4_1-1
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 16 Sep 2008 20:31:39 +0000 (20:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lua-filesystem.spec -> 1.3

lua-filesystem.spec

index cbf9b5da9d8b9ba4f2403edc5b6ff8adf5a89912..695f8b25d3530a203daf6c9ababa43fca924b2b3 100644 (file)
@@ -24,8 +24,8 @@ hogy a fájlrendszeren műveleteket végezhess.
 
 %prep
 %setup -q -n luafilesystem-%{version}
-sed -i "s|PREFIX=.*|PREFIX=%{_prefix}|" config
-sed -i -r "s|(LUA_INC=.*)|\1/lua51|" config
+%{__sed} -i -e 's|PREFIX=.*|PREFIX=%{_prefix}|' config
+%{__sed} -i -e 's|\(LUA_INC=.*\)|\1/lua51|' config
 
 %build
 %{__make}
@@ -33,7 +33,7 @@ sed -i -r "s|(LUA_INC=.*)|\1/lua51|" config
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/lua/5.1
-cp src/lfs.so $RPM_BUILD_ROOT%{_libdir}/lua/5.1
+install src/lfs.so $RPM_BUILD_ROOT%{_libdir}/lua/5.1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -41,4 +41,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README doc/us/*
-%{_libdir}/lua/5.1/*.so
+# XXX: parent dir runtime dep?
+%attr(755,root,root) %{_libdir}/lua/5.1/*.so
This page took 0.159496 seconds and 4 git commands to generate.