Accepting request 87880 from home:ftake:branches:M17N

fix Bug 724242 - skk-autoloads.el is newer than byte-compiled file

Contents of this package is still too old!

OBS-URL: https://build.opensuse.org/request/show/87880
OBS-URL: https://build.opensuse.org/package/show/M17N/ddskk?expand=0&rev=6
This commit is contained in:
OBS User mrdocs 2011-10-19 04:25:17 +00:00 committed by Git OBS Bridge
parent c668514b8d
commit 7106e54b0f
2 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 14 14:50:14 UTC 2011 - ftake@geeko.jp
- fix Bug 724242 - skk-autoloads.el is newer than byte-compiled file
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de

View File

@ -183,15 +183,17 @@ do
done done
%endif %endif
# remove buildroot in .el files: # remove buildroot in .el files:
for i in $(find $RPM_BUILD_ROOT -name "*.el") # for i in $(find $RPM_BUILD_ROOT -name "*.el")
do # do
perl -pi -e "s|$RPM_BUILD_ROOT||" $i # perl -pi -e "s|$RPM_BUILD_ROOT||" $i
# touch the .elc files again because they are still up to date: # # touch the .elc files again because they are still up to date:
if -f ${i}c # if -f ${i}c
then # then
touch ${i}c # touch ${i}c
fi # fi
done # done
perl -pi -e "s|$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT%{emacs_package_dir}/skk-setup.el
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
rm -f $RPM_BUILD_ROOT/%{xemacs_package_dir}/info/dir rm -f $RPM_BUILD_ROOT/%{xemacs_package_dir}/info/dir