summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-09-23 17:41:25 +0100
committerRichard Hughes <richard@hughsie.com>2014-09-23 17:41:27 +0100
commit5115cea340aee25735ac05bdc65b134c2b7d0c47 (patch)
treea72f8cc1740b025781362650dabe2b79ebe7ea1e /data
parentfcc3feb19a1569f39be7e50f80e58be6d72b8c1a (diff)
downloadappstream-glib-5115cea340aee25735ac05bdc65b134c2b7d0c47.tar.gz
Decompress the destination file if soft or hardlinked
This fixes failures such as veusz where the icon is installed into /usr/share/veusz/icons and then symlinked to /usr/share/pixmaps for the desktop file.
Diffstat (limited to 'data')
-rw-r--r--data/tests/app-1-1.fc21.i686.rpmbin13476 -> 13620 bytes
-rw-r--r--data/tests/app-1-1.fc21.x86_64.rpmbin13440 -> 13584 bytes
-rw-r--r--data/tests/app-console-1-1.fc21.noarch.rpmbin6764 -> 6796 bytes
-rw-r--r--data/tests/app-extra-1-1.fc21.noarch.rpmbin6652 -> 6680 bytes
-rw-r--r--data/tests/app.spec10
5 files changed, 9 insertions, 1 deletions
diff --git a/data/tests/app-1-1.fc21.i686.rpm b/data/tests/app-1-1.fc21.i686.rpm
index be0aa9f..478333c 100644
--- a/data/tests/app-1-1.fc21.i686.rpm
+++ b/data/tests/app-1-1.fc21.i686.rpm
Binary files differ
diff --git a/data/tests/app-1-1.fc21.x86_64.rpm b/data/tests/app-1-1.fc21.x86_64.rpm
index 60011fb..a85dfda 100644
--- a/data/tests/app-1-1.fc21.x86_64.rpm
+++ b/data/tests/app-1-1.fc21.x86_64.rpm
Binary files differ
diff --git a/data/tests/app-console-1-1.fc21.noarch.rpm b/data/tests/app-console-1-1.fc21.noarch.rpm
index 640d753..e0b6c0d 100644
--- a/data/tests/app-console-1-1.fc21.noarch.rpm
+++ b/data/tests/app-console-1-1.fc21.noarch.rpm
Binary files differ
diff --git a/data/tests/app-extra-1-1.fc21.noarch.rpm b/data/tests/app-extra-1-1.fc21.noarch.rpm
index 6e03922..e8dd104 100644
--- a/data/tests/app-extra-1-1.fc21.noarch.rpm
+++ b/data/tests/app-extra-1-1.fc21.noarch.rpm
Binary files differ
diff --git a/data/tests/app.spec b/data/tests/app.spec
index 349027c..efc3adf 100644
--- a/data/tests/app.spec
+++ b/data/tests/app.spec
@@ -44,7 +44,14 @@ Sub package with console "application".
%install
install -Dp %{SOURCE0} $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{version}/README
install -Dp %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/app.desktop
-install -Dp %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/app.png
+
+# test decompressing a symlink destination
+install -Dp %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/app/app.png
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
+cd $RPM_BUILD_ROOT
+ln -s %{_datadir}/app/app.png usr/share/pixmaps/app.png
+cd -
+
install -Dp %{SOURCE3} $RPM_BUILD_ROOT/%{_datadir}/appdata/app.appdata.xml
install -Dp %{SOURCE4} $RPM_BUILD_ROOT/%{_datadir}/gnome-shell/search-providers/search-provider.ini
install -Dp %{SOURCE5} $RPM_BUILD_ROOT/%{_datadir}/help/C/app/index.page
@@ -75,6 +82,7 @@ install -Dp %{SOURCE16} $RPM_BUILD_ROOT/%{_datadir}/applications/console2.deskto
%{_datadir}/kde4/apps/app/app.notifyrc
%{_datadir}/locale/en_GB/LC_MESSAGES/app.mo
%{_datadir}/locale/ru/LC_MESSAGES/app.mo
+%{_datadir}/app/app.png
%{_datadir}/pixmaps/app.png
%files extra