rpms/asymptote/devel asymptote.spec,1.26,1.27
Jose Pedro Oliveira (jpo)
fedora-extras-commits at redhat.com
Sat Jun 16 22:13:01 UTC 2007
- Previous message: rpms/kdeutils/devel .cvsignore, 1.34, 1.35 kdeutils.spec, 1.88, 1.89 sources, 1.37, 1.38
- Next message: rpms/kdeaccessibility/devel .cvsignore, 1.12, 1.13 kdeaccessibility.spec, 1.29, 1.30 sources, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jpo
Update of /cvs/extras/rpms/asymptote/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21007
Modified Files:
asymptote.spec
Log Message:
Use relative symbolic links in the {emacs,xemacs}-common triggers (#155750).
Index: asymptote.spec
===================================================================
RCS file: /cvs/extras/rpms/asymptote/devel/asymptote.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- asymptote.spec 16 Jun 2007 20:48:38 -0000 1.26
+++ asymptote.spec 16 Jun 2007 22:12:26 -0000 1.27
@@ -58,14 +58,19 @@
install -p -m 644 BUGS ChangeLog LICENSE README ReleaseNotes TODO \
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}/
-# Emacs/Xemacs mode and init files
-for dir in %{emacs_sitelisp} %{xemacs_sitelisp} ; do
- install -dm 755 $RPM_BUILD_ROOT$dir/site-start.d
- ln -s %{_datadir}/%{name}/asy-mode.el $RPM_BUILD_ROOT$dir
- touch $RPM_BUILD_ROOT$dir/asy-mode.elc
- ln -s %{_datadir}/%{name}/asy-init.el $RPM_BUILD_ROOT$dir/site-start.d
- touch $RPM_BUILD_ROOT$dir/site-start.d/asy-init.elc
-done
+# Emacs mode and init files
+install -dm 755 $RPM_BUILD_ROOT%{emacs_sitelisp}/site-start.d
+cd $RPM_BUILD_ROOT%{emacs_sitelisp}
+ln -s ../../%{name}/asy-{mode,keywords}.el .
+cd $RPM_BUILD_ROOT%{emacs_sitelisp}/site-start.d
+ln -s ../../../%{name}/asy-init.el .
+
+# Xemacs mode and init files
+install -dm 755 $RPM_BUILD_ROOT%{xemacs_sitelisp}/site-start.d
+cd $RPM_BUILD_ROOT%{xemacs_sitelisp}
+ln -s ../../../%{name}/asy-{mode,keywords}.el .
+cd $RPM_BUILD_ROOT%{xemacs_sitelisp}/site-start.d
+ln -s ../../../../%{name}/asy-init.el .
# Vim syntax file
for vimver in 63 64 70 71 ; do
@@ -94,21 +99,21 @@
%triggerin -- emacs-common
[ -d %{emacs_sitelisp} ] && \
- ln -sf %{_datadir}/%{name}/asy-mode.el %{emacs_sitelisp} || :
+ cd %{emacs_sitelisp} && ln -sf ../../%{name}/asy-{mode,keywords}.el . || :
[ -d %{emacs_sitelisp}/site-start.d ] && \
- ln -sf %{_datadir}/%{name}/asy-init.el %{emacs_sitelisp}/site-start.d || :
+ cd %{emacs_sitelisp}/site-start.d && ln -sf ../../../%{name}/asy-init.el . || :
%triggerin -- xemacs-common
[ -d %{xemacs_sitelisp} ] && \
- ln -sf %{_datadir}/%{name}/asy-mode.el %{xemacs_sitelisp} || :
+ cd %{xemacs_sitelisp} && ln -sf ../../../%{name}/asy-{mode,keywords}.el . || :
[ -d %{xemacs_sitelisp}/site-start.d ] && \
- ln -sf %{_datadir}/%{name}/asy-init.el %{xemacs_sitelisp}/site-start.d || :
+ cd %{xemacs_sitelisp}/site-start.d && ln -sf ../../../../%{name}/asy-init.el . || :
%triggerun -- emacs-common
-[ $2 = 0 ] && rm -f %{emacs_sitelisp}/{asy-mode.el*,site-start.d/asy-init.el*} || :
+[ $2 = 0 ] && rm -f %{emacs_sitelisp}/{asy-mode.el,asy-keywords.el,site-start.d/asy-init.el} || :
%triggerun -- xemacs-common
-[ $2 = 0 ] && rm -f %{xemacs_sitelisp}/{asy-mode.el*,site-start.d/asy-init.el*} || :
+[ $2 = 0 ] && rm -f %{xemacs_sitelisp}/{asy-mode.el,asy-keywords.el,site-start.d/asy-init.el} || :
%triggerin -- vim-common
@@ -148,6 +153,7 @@
* Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.29-3
- Using "evince" as the default PS and PDF viewers (#244151).
(patch file: asymptote-1.29-settings.patch)
+- Use relative symbolic links in the {emacs,xemacs}-common triggers (#155750).
- Use relative symbolic links in the vim-common triggers.
* Sat Jun 2 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.29-2
- Previous message: rpms/kdeutils/devel .cvsignore, 1.34, 1.35 kdeutils.spec, 1.88, 1.89 sources, 1.37, 1.38
- Next message: rpms/kdeaccessibility/devel .cvsignore, 1.12, 1.13 kdeaccessibility.spec, 1.29, 1.30 sources, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list