Use a not-official tarball to get the correct files
This commit is contained in:
parent
45d96f87fe
commit
8a2907f992
@ -22,9 +22,9 @@ License: LGPLv2+
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
#VCS: git:git://git.gnome.org/gtk+
|
#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
|
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: gnome-common autoconf automake intltool gettext
|
||||||
BuildRequires: atk-devel >= %{atk_version}
|
BuildRequires: atk-devel >= %{atk_version}
|
||||||
@ -168,11 +168,6 @@ the functionality of the installed %{name} package.
|
|||||||
# fight unused direct deps
|
# fight unused direct deps
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -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
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user