SPECS: macromedia-flash.spec - disable autoupdate
glen
glen at pld-linux.org
Wed Jan 10 22:30:33 CET 2007
Author: glen Date: Wed Jan 10 21:30:33 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- disable autoupdate
---- Files affected:
SPECS:
macromedia-flash.spec (1.64 -> 1.65)
---- Diffs:
================================================================
Index: SPECS/macromedia-flash.spec
diff -u SPECS/macromedia-flash.spec:1.64 SPECS/macromedia-flash.spec:1.65
--- SPECS/macromedia-flash.spec:1.64 Wed Jan 10 12:40:43 2007
+++ SPECS/macromedia-flash.spec Wed Jan 10 22:30:28 2007
@@ -42,6 +42,8 @@
ExclusiveArch: %{ix86}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sysconfdir /etc/adobe
+
%description
Adobe(R) Flash(R) Player is the high-performance, lightweight, highly expressive
client runtime that delivers powerful and consistent user experiences across
@@ -60,7 +62,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-%if !%{with license_agreement}
+%if %{without license_agreement}
install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{base_name}}
sed -e '
@@ -75,7 +77,12 @@
%else
-install -d $RPM_BUILD_ROOT%{_browserpluginsdir}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_browserpluginsdir}}
+cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/mms.cfg
+# http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=16701594
+AutoUpdateDisable=1
+AutoUpdateInterval=0
+EOF
install *.so $RPM_BUILD_ROOT%{_browserpluginsdir}
%endif
@@ -103,6 +110,8 @@
%{_datadir}/%{base_name}
%else
%doc *.txt
+%dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mms.cfg
%attr(755,root,root) %{_browserpluginsdir}/*.so
%endif
@@ -112,6 +121,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.65 2007/01/10 21:30:28 glen
+- disable autoupdate
+
Revision 1.64 2007/01/10 11:40:43 glen
- browser-plugins v2; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/macromedia-flash.spec?r1=1.64&r2=1.65&f=u
More information about the pld-cvs-commit
mailing list