From 8a2907f992b5004a513dfe78a8ec09681f45d82c Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 25 Jun 2014 09:47:59 +0100 Subject: [PATCH] Use a not-official tarball to get the correct files --- gtk3.spec | 9 ++------- reftests-dark.test.in | 3 --- reftests-hc.test.in | 3 --- sources | 4 +--- 4 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 reftests-dark.test.in delete mode 100644 reftests-hc.test.in diff --git a/gtk3.spec b/gtk3.spec index 2b61f61..2908afc 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -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 diff --git a/reftests-dark.test.in b/reftests-dark.test.in deleted file mode 100644 index da32518..0000000 --- a/reftests-dark.test.in +++ /dev/null @@ -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 diff --git a/reftests-hc.test.in b/reftests-hc.test.in deleted file mode 100644 index c69d249..0000000 --- a/reftests-hc.test.in +++ /dev/null @@ -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 diff --git a/sources b/sources index 7f85e68..48009f2 100644 --- a/sources +++ b/sources @@ -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