Use a not-official tarball to get the correct files

This commit is contained in:
Richard Hughes 2014-06-25 09:47:59 +01:00
parent 45d96f87fe
commit 8a2907f992
4 changed files with 3 additions and 16 deletions

View File

@ -22,9 +22,9 @@ License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
#VCS: git:git://git.gnome.org/gtk+
# not the actual tarball, rebuilt for missing files
Source: http://download.gnome.org/sources/gtk+/3.13/gtk+-%{version}.tar.xz
Source1: reftests-dark.test.in
Source2: reftests-hc.test.in
BuildRequires: gnome-common autoconf automake intltool gettext
BuildRequires: atk-devel >= %{atk_version}
@ -168,11 +168,6 @@ the functionality of the installed %{name} package.
# fight unused direct deps
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
# copy missing files
mkdir -p $RPM_SOURCE_DIR/gtk+-3.13.3/testsuite/reftests
cp %SOURCE1 $RPM_SOURCE_DIR/gtk+-3.13.3/testsuite/reftests
cp %SOURCE2 $RPM_SOURCE_DIR/gtk+-3.13.3/testsuite/reftests
make %{?_smp_mflags}
%install

View File

@ -1,3 +0,0 @@
[Test]
Exec=/bin/sh -c "GTK_THEME=Adwaita:dark @libexecdir@/installed-tests/gtk+/gtk-reftest -k --verbose --output $(pwd) --directory @libexecdir@/installed-tests/gtk+/reftests"
Type=session-exclusive

View File

@ -1,3 +0,0 @@
[Test]
Exec=/bin/sh -c "GTK_THEME=HighContrast @libexecdir@/installed-tests/gtk+/gtk-reftest -k --verbose --output $(pwd) --directory @libexecdir@/installed-tests/gtk+/reftests"
Type=session-exclusive

View File

@ -1,3 +1 @@
851a0a6a4dbafa2620ddce73b27651c6 gtk+-3.13.3.tar.xz
fa5092eb1e52ce4173a0cb442728cdda reftests-dark.test.in
bf7989cd16e9bbcc318bd49f20bfb636 reftests-hc.test.in
5745a6341eae194c4aa1220c99c5c5c5 gtk+-3.13.3.tar.xz