SPECS: lua-filesystem.spec - shared libraries should be copied to buildroot...
glen
glen at pld-linux.org
Tue Sep 16 22:31:44 CEST 2008
Author: glen Date: Tue Sep 16 20:31:44 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- shared libraries should be copied to buildroot (for rpm autodeps) and packaged as executables
---- Files affected:
SPECS:
lua-filesystem.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/lua-filesystem.spec
diff -u SPECS/lua-filesystem.spec:1.2 SPECS/lua-filesystem.spec:1.3
--- SPECS/lua-filesystem.spec:1.2 Tue Sep 16 21:38:15 2008
+++ SPECS/lua-filesystem.spec Tue Sep 16 22:31:39 2008
@@ -25,8 +25,8 @@
%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}
@@ -34,7 +34,7 @@
%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
@@ -42,16 +42,19 @@
%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
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2008/09/16 20:31:39 glen
+- shared libraries should be copied to buildroot (for rpm autodeps) and packaged as executables
+
Revision 1.2 2008/09/16 19:38:15 uzsolt
- added BR: sed
Revision 1.1 2008/09/16 19:29:42 uzsolt
- initial
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lua-filesystem.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list