[packages/vivaldi] BR hicolor-icon-theme for dir check. cleanups

glen glen at pld-linux.org
Sun Sep 6 00:09:11 CEST 2015


commit 8abffb79daa1267b188c1bf8adb7b1db20ac547b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Sep 6 00:56:17 2015 +0300

    BR hicolor-icon-theme for dir check. cleanups

 vivaldi.spec | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/vivaldi.spec b/vivaldi.spec
index a69f090..b32829b 100644
--- a/vivaldi.spec
+++ b/vivaldi.spec
@@ -11,6 +11,7 @@ Source1:	https://vivaldi.com/download/snapshot/%{name}-snapshot_%{version}-1_amd
 # NoSource1-md5:	b18994a388c83b98c7ccbb1755de103d
 NoSource:	1
 URL:		https://vivaldi.com/
+BuildRequires:	hicolor-icon-theme
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 Requires:	desktop-file-utils
@@ -52,19 +53,13 @@ test $version = %{version}-1
 
 mv opt/%{name}-snapshot/* .
 mv %{name}{-snapshot,}
-
-sed -e 's|vivaldi-snapshot|vivaldi|g' \
-		usr/share/applications/%{name}-snapshot.desktop \
-		usr/share/xfce4/helpers/%{name}-snapshot.desktop
-
 mv usr/share/applications/vivaldi-snapshot.desktop %{name}.desktop
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins \
 	$RPM_BUILD_ROOT%{_datadir}/%{name}/{locales,resources} \
-	$RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir}} \
-	$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/{native-messaging-hosts,policies/managed}
+	$RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} \
 
 cp -a locales resources $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -p *.pak *.bin *.dat $RPM_BUILD_ROOT%{_libdir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vivaldi.git/commitdiff/a0a6d2fb1a6adabd9aa3f35bf28b398a9016d6d4



More information about the pld-cvs-commit mailing list