[packages/google-chrome] - add conflicts to trigger subpackages upgrade

glen glen at pld-linux.org
Sat Sep 22 17:35:41 CEST 2012


commit fd243dcf270a7b7fee37fafbed71cb9bd1f541d3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 22 18:31:50 2012 +0300

    - add conflicts to trigger subpackages upgrade

 google-chrome.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/google-chrome.spec b/google-chrome.spec
index c1be386..973b337 100644
--- a/google-chrome.spec
+++ b/google-chrome.spec
@@ -30,6 +30,9 @@ Requires:	xdg-utils >= 1.0.2-4
 Suggests:	browser-plugin-adobe-flash
 Suggests:	browser-plugin-chrome-pdf
 Provides:	wwwbrowser
+# add conflicts to trigger their update when main package is updated
+Conflicts:	browser-plugin-adobe-flash < %{flashv}-%{!?rel:1}%{?rel:%{rel}}
+Conflicts:	browser-plugin-chrome-pdf < %{version}-%{release}
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/google-chrome.git/commitdiff/bbdd4bed23cf3b20cadab9ff30900cde697d497e



More information about the pld-cvs-commit mailing list