SPECS: compupic.spec - added %post - make symlink to binary placed...
darekr
darekr at pld-linux.org
Tue Dec 5 23:37:40 CET 2006
Author: darekr Date: Tue Dec 5 22:37:40 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added %post - make symlink to binary placed in %{_datadir}/compupic
to execute properly. but i don't know how to resolve the problem from TODO
In installation script author wrote symlink has to exist.
---- Files affected:
SPECS:
compupic.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/compupic.spec
diff -u SPECS/compupic.spec:1.12 SPECS/compupic.spec:1.13
--- SPECS/compupic.spec:1.12 Tue Feb 28 23:15:57 2006
+++ SPECS/compupic.spec Tue Dec 5 23:37:34 2006
@@ -41,7 +41,6 @@
cd $RPM_BUILD_ROOT%{_datadir}/compupic
%{__perl} -pi -e 's/libn/FOOB/g' compupic
%{__perl} -pi -e 's/nss/FOO/g' compupic
-ln compupic ../../bin/compupic
cd -
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
@@ -49,10 +48,12 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+ln -s %{_datadir}/compupic/compupic /usr/bin/compupic
+
%files
%defattr(644,root,root,755)
%doc README LICENSE
-%attr(755,root,root) %{_bindir}/compupic
%dir %{_datadir}/compupic
# XXX: it can't be in %{_datadir}
%attr(755,root,root) %{_datadir}/compupic/compupic
@@ -72,6 +73,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2006/12/05 22:37:34 darekr
+- added %post - make symlink to binary placed in %{_datadir}/compupic
+ to execute properly. but i don't know how to resolve the problem from TODO
+ In installation script author wrote symlink has to exist.
+
Revision 1.12 2006/02/28 22:15:57 glen
- adapterized
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/compupic.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list