summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-06-25 09:47:59 +0100
committerRichard Hughes <richard@hughsie.com>2014-06-25 09:47:59 +0100
commit8a2907f992b5004a513dfe78a8ec09681f45d82c (patch)
tree491048b323f50dfda69ff16d8829f7b430ec499e
parentUpload the missing files to the pkgcache (diff)
downloadgtk3-classic-build-gtk3-8a2907f992b5004a513dfe78a8ec09681f45d82c.tar.gz
gtk3-classic-build-gtk3-8a2907f992b5004a513dfe78a8ec09681f45d82c.tar.bz2
gtk3-classic-build-gtk3-8a2907f992b5004a513dfe78a8ec09681f45d82c.zip
Use a not-official tarball to get the correct files
-rw-r--r--gtk3.spec9
-rw-r--r--reftests-dark.test.in3
-rw-r--r--reftests-hc.test.in3
-rw-r--r--sources4
4 files changed, 3 insertions, 16 deletions
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
bgstack15