SPECS: mozilla-addon-easysearch.spec - fixed %post/%postun, rel. 4

Andrzej Augustynowicz andree at pld-linux.org
Sun Sep 26 22:56:51 CEST 2004


Dnia niedziela, 26 września 2004 22:37, ankry napisał:
> Author: ankry                        Date: Sun Sep 26 20:37:27 2004 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - fixed %post/%postun, rel. 4
>
> ---- Files affected:
> SPECS:
>    mozilla-addon-easysearch.spec (1.13 -> 1.14)
>
> ---- Diffs:
>
> ================================================================
> Index: SPECS/mozilla-addon-easysearch.spec
> diff -u SPECS/mozilla-addon-easysearch.spec:1.13
> SPECS/mozilla-addon-easysearch.spec:1.14 ---
> SPECS/mozilla-addon-easysearch.spec:1.13 Sun Aug  8 13:12:08 2004 +++
> SPECS/mozilla-addon-easysearch.spec Sun Sep 26 20:37:21 2004
> @@ -4,7 +4,7 @@
>  Name:  mozilla-addon-easysearch
>  %define  _realname easysearch
>  Version: 097
> -Release: 3
> +Release: 4
>  License: GPL
>  Group:  X11/Applications/Networking
>  Source0: http://easysearch.mozdev.org/download/%{_realname}_%{version}.xpi
> @@ -12,12 +12,13 @@
>  Source1: %{_realname}-installed-chrome.txt
>  URL:  http://easysearch.mozdev.org/
>  BuildRequires: unzip
> +Requires(post,postun): mozilla
>  Requires(post,postun): textutils
>  Requires: mozilla >= 1.0-7
>  BuildArch: noarch
 ~~~~~~~~~~~~~~~~~

>  BuildRoot: %{tmpdir}/%{_realname}-%{version}-root-%(id -u -n)
>
> -%define         _chromedir      %{_datadir}/mozilla/chrome
> +%define  _chromedir %{_datadir}/mozilla/chrome
>
>  %description
>  Mozilla EasySearch Toolbar - a toolbar with search engines support.
> @@ -39,23 +40,34 @@
>
>  %post
>  umask 022
> -cat %{_chromedir}/*-installed-chrome.txt
> >%{_chromedir}/installed-chrome.txt +cat
> %{_chromedir}/*-installed-chrome.txt >%{_chromedir}/installed-chrome.txt
> ||: +rm -f %{_libdir}/mozilla/components/{compreg,xpti}.dat \
> + %{_datadir}/mozilla/chrome/{chrome.rdf,overlayinfo/*/*/*.rdf} ||:
> +MOZILLA_FIVE_HOME=%{_libdir}/mozilla %{_bindir}/regxpcom ||:
> +MOZILLA_FIVE_HOME=%{_libdir}/mozilla %{_bindir}/regchrome ||:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

>  %postun
>  umask 022
>  cat %{_chromedir}/*-installed-chrome.txt
> >%{_chromedir}/installed-chrome.txt +rm -f
> %{_libdir}/mozilla/components/{compreg,xpti}.dat \
> + %{_datadir}/mozilla/chrome/{chrome.rdf,overlayinfo/*/*/*.rdf}
> +MOZILLA_FIVE_HOME=%{_libdir}/mozilla %{_bindir}/regxpcom
> +MOZILLA_FIVE_HOME=%{_libdir}/mozilla %{_bindir}/regchrome
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

>  %files
>  %defattr(644,root,root,755)
>  %{_chromedir}/%{_realname}.jar
>  %{_chromedir}/%{_realname}-installed-chrome.txt
>
> -%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
> +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
>  %changelog
>  * %{date} PLD Team <feedback at pld-linux.org>
>  All persons listed below can be reached at <cvs_login>@pld-linux.org
>
>  $Log$
> +Revision 1.14  2004/09/26 20:37:21  ankry
> +- fixed %post/%postun, rel. 4
> +
It isn't noarch anymore

-- 
Andrzej Augustynowicz
http://ds5.agh.edu.pl




More information about the pld-devel-en mailing list