Author: rdieter
Update of /cvs/extras/rpms/qt4/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12261
Modified Files:
qt4.spec
Log Message:
fix symlink handling
Index: qt4.spec
===================================================================
RCS file: /cvs/extras/rpms/qt4/FC-4/qt4.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- qt4.spec 11 Oct 2006 14:47:31 -0000 1.13
+++ qt4.spec 11 Oct 2006 17:17:42 -0000 1.14
@@ -5,7 +5,7 @@
Summary: Qt toolkit
Name: qt4
Version: 4.1.4
-Release: 11%{?dist}.1
+Release: 11%{?dist}.2
License: GPL/QPL
Group: System Environment/Libraries
@@ -297,15 +297,15 @@
## Make symlinks in %%_bindir
mkdir -p %{buildroot}%{_bindir}
-pushd %{buildroot}%{qtdir}/bin
+pushd %{buildroot}%{qtdir}/bin
for i in *; do
- case "$i" in
+ case "${i}" in
assistant|designer|linguist|lrelease|lupdate|moc|qmake|qtconfig|qtdemo|uic)
- LINK=${i}-qt4
+ LINK="${i}-qt4"
+ ln -s "${i}" "%{buildroot}%{qtdir}/bin/${LINK}"
;;
*)
- LINK=${i}
- ln -s $i %{buildroot}%{qtdir}/bin/${LINK}
+ LINK="${i}"
;;
esac
install -p -m755 -D %{SOURCE10} %{buildroot}%{_bindir}/${LINK}
@@ -462,7 +462,7 @@
%changelog
-* Wed Oct 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> 4.1.4-11.1
+* Wed Oct 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> 4.1.4-11.2
- (re)enable -system-nas-sound on FC-4/x86_64
* Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 4.1.4-11
Show replies by date