Permalink
Browse files

bug 677830 r=jhford moved qt-sdk to /builds with a symlink in /tools

  • Loading branch information...
1 parent ff2da99 commit 1e7d85a64d3884b2fa7bf06dee3487f90dbe386d Mike Taylor committed Aug 15, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 qt4/centos5-i686/qt-sdk.spec
@@ -1,7 +1,7 @@
Name: qt-sdk
Summary: %{name}
Version: 4.6.3
-Release: 2010.04moz1
+Release: 2010.04moz2
License: LGPL
Group: QT
#Source0: http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2010.04.bin
@@ -21,15 +21,15 @@ AutoReqProv: no
%build
# To create the tarball required, run:
-#su -c './qt-sdk-linux-x86-opensource-2010.04.bin --enable-components qtlibs --installdir /tools/qt-4.6.3 --mode text'
-#cd /tools
+#su -c './qt-sdk-linux-x86-opensource-2010.04.bin --enable-components qtlibs --installdir /builds/qt-4.6.3 --mode text'
+#cd /builds
#tar qt-sdk-2010.04-4.6.3.tar.gz qt-4.6.3
# Note: this installer does some weird things, so don't try to run it
# directly in a spec file. You will end up with a broken install
%install
-mkdir -p $RPM_BUILD_ROOT/tools
-tar zxvf %{SOURCE0} -C $RPM_BUILD_ROOT/tools
+mkdir -p $RPM_BUILD_ROOT/builds
+tar zxvf %{SOURCE0} -C $RPM_BUILD_ROOT/builds
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
install %{SOURCE1} $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt-%{version}.conf
@@ -44,5 +44,5 @@ ldconfig
%files
%defattr(-, root, root)
-/tools/qt-%{version}
+/builds/qt-%{version}
/etc/ld.so.conf.d/qt-%{version}.conf

0 comments on commit 1e7d85a

Please sign in to comment.