summaryrefslogtreecommitdiffstats
path: root/phoronix-test-suite.spec
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-01-08 13:30:19 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-01-08 13:30:19 +0100
commitf134349a3aa37803ad369573c339b29c1d66f01c (patch)
tree06261ab608b5e3ecdfa37e04d3933bcc8f0e7cb3 /phoronix-test-suite.spec
parentfd1143638686ae005dc7017b0f1c68a21de7caee (diff)
downloadphoronix-test-suite-package-f134349a3aa37803ad369573c339b29c1d66f01c.zip
phoronix-test-suite-package-f134349a3aa37803ad369573c339b29c1d66f01c.tar.gz
phoronix-test-suite-package-f134349a3aa37803ad369573c339b29c1d66f01c.tar.xz
* Thu Jan 08 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.2-2phoronix-test-suite-1.4.2-2.fc9
- Fix tcsh location definition for Fedora - fix install script using DESTDIR
Diffstat (limited to 'phoronix-test-suite.spec')
-rw-r--r--phoronix-test-suite.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/phoronix-test-suite.spec b/phoronix-test-suite.spec
index f5ae62d..e2baa9d 100644
--- a/phoronix-test-suite.spec
+++ b/phoronix-test-suite.spec
@@ -1,6 +1,6 @@
Name: phoronix-test-suite
Version: 1.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Phoronix graphics card test suite
Group: User Interface/X
@@ -8,6 +8,8 @@ License: GPLv3+
URL: http://www.phoronix-test-suite.com/
# Redirected from http://www.phoronix-test-suite.com/download.php?file=%{name}-%{version}
Source0: http://www.phoronix.net/downloads/phoronix-test-suite/releases/%{name}-%{version}.tar.gz
+Patch1: phoronix-test-suite-1.4.2-destdir.patch
+Patch2: phoronix-test-suite-1.4.2-fedora-tcsh-2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
@@ -23,18 +25,17 @@ Tests some graphics stuff (TBD).
%prep
%setup -q -n %{name}
+%patch1 -p1 -b .destdir
+%patch2 -p1 -b .fedora-tcsh
%build
-#configure
-#make %{?_smp_mflags}
%install
rm -rf "$RPM_BUILD_ROOT"
-#make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p "$RPM_BUILD_ROOT%{_prefix}"
-./install-sh "$RPM_BUILD_ROOT%{_prefix}"
+env DESTDIR="$RPM_BUILD_ROOT" ./install-sh "%{_prefix}"
+rm -f "$RPM_BUILD_ROOT/usr/share/phoronix-test-suite/pts/distro-xml/fedora-packages.xml.fedora-tcsh"
%clean
@@ -509,5 +510,9 @@ rm -rf "$RPM_BUILD_ROOT"
%{_datadir}/%{name}/pts/test-suites/xrender.xml
%changelog
+* Thu Jan 8 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.2-2
+- Fix tcsh location definition for Fedora
+- fix install script using DESTDIR
+
* Wed Jan 7 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.2-1
- Initial rpm package