rpms/sdcc/FC-6 sdcc.spec,1.1,1.2
Trond Danielsen (trondd)
fedora-extras-commits at redhat.com
Sun Mar 25 15:18:05 UTC 2007
- Previous message: rpms/pstoedit/devel pstoedit-3.44-quiet.patch, NONE, 1.1 pstoedit.spec, 1.4, 1.5
- Next message: rpms/nyquist/FC-6 .cvsignore, 1.5, 1.6 nyquist.spec, 1.4, 1.5 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: trondd
Update of /cvs/extras/rpms/sdcc/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22655
Modified Files:
sdcc.spec
Log Message:
Fixed bug #233385.
Index: sdcc.spec
===================================================================
RCS file: /cvs/extras/rpms/sdcc/FC-6/sdcc.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sdcc.spec 2 Mar 2007 16:10:42 -0000 1.1
+++ sdcc.spec 25 Mar 2007 15:17:32 -0000 1.2
@@ -1,6 +1,6 @@
Name: sdcc
Version: 2.6.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Small Device C Compiler
Group: Applications/Engineering
@@ -77,8 +77,15 @@
find $RPM_BUILD_ROOT -type f -name \*.c -exec chmod a-x '{}' \;
mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}/sdcc
mv $RPM_BUILD_ROOT/%{_bindir}/* $RPM_BUILD_ROOT/%{_libexecdir}/sdcc
+
+# Creat lauch scripts in %{_bindir}
pushd $RPM_BUILD_ROOT/%{_bindir}
-for x in ../libexec/sdcc/*; do ln -s $x sdcc-$(basename $x); done
+for x in ../libexec/sdcc/*; do
+echo "#!/bin/sh
+PATH=/usr/libexec/sdcc:\$PATH
+/usr/libexec/%{name}/$(basename $x) \"\$@\"" > %{name}-$(basename $x)
+chmod 755 %{name}-$(basename $x)
+done
popd
%define __os_install_post . ./os_install_post
@@ -104,6 +111,9 @@
%{_datadir}/%{name}/lib/*/*.asm
%changelog
+* Fri Mar 23 2007 Trond Danielsen <trond.danielsen at gmail.com> - 2.6.0-9
+- Removed symlinks, added scripts (solves bug #233385).
+
* Thu Feb 29 2007 Trond Danielsen <trond.danielsen at gmail.com> - 2.6.0-8
- Added Fedora specific README file.
- Corrected permissions on files in debuginfo package.
- Previous message: rpms/pstoedit/devel pstoedit-3.44-quiet.patch, NONE, 1.1 pstoedit.spec, 1.4, 1.5
- Next message: rpms/nyquist/FC-6 .cvsignore, 1.5, 1.6 nyquist.spec, 1.4, 1.5 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list