]> git.pld-linux.org Git - packages/xemacs-view-process-pkg.git/commitdiff
- massive change: pack .el file id compiled .elc file does not exist
authorklakier <klakier@pld-linux.org>
Sun, 14 Apr 2002 12:26:59 +0000 (12:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- not tested for all affected packages, you may blame me if something fails

Changed files:
    xemacs-view-process-pkg.spec -> 1.13

xemacs-view-process-pkg.spec

index 40768f8a38a87110b41b884b7381453c4e658a58..96395d05a92c5ab3baf30b9653154c21c55a4067 100644 (file)
@@ -31,6 +31,9 @@ cp -a * $RPM_BUILD_ROOT%{_datadir}/xemacs-packages
 
 gzip -9nf lisp/view-process/ChangeLog
 
+# remove .el file if corresponding .elc file exists
+find $RPM_BUILD_ROOT -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done
+
 %clean
 rm -fr $RPM_BUILD_ROOT
 
@@ -38,4 +41,4 @@ rm -fr $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc lisp/view-process/ChangeLog.gz
 %dir %{_datadir}/xemacs-packages/lisp/*
-%{_datadir}/xemacs-packages/lisp/*/*.elc
+%{_datadir}/xemacs-packages/lisp/*/*.el*
This page took 0.041671 seconds and 4 git commands to generate.