/[packages]/cauldron/php-pear-XML_Beautifier/current/SPECS/php-pear-XML_Beautifier.spec
ViewVC logotype

Diff of /cauldron/php-pear-XML_Beautifier/current/SPECS/php-pear-XML_Beautifier.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 44400 by spuhler, Sat Jan 29 18:28:55 2011 UTC revision 44401 by spuhler, Sat Jan 29 22:37:55 2011 UTC
# Line 15  Requires(preun): php-pear Line 15  Requires(preun): php-pear
15  Requires:       php-pear  Requires:       php-pear
16  BuildArch:      noarch  BuildArch:      noarch
17  BuildRequires:  php-pear  BuildRequires:  php-pear
 BuildRoot:      %{_tmppath}/%{name}-%{version}  
18    
19  %description  %description
20  XML_Beautifier will add indentation and linebreaks to you XML files,  XML_Beautifier will add indentation and linebreaks to you XML files,
# Line 43  install -m 644 %{upstream_name}.xml %{bu Line 42  install -m 644 %{upstream_name}.xml %{bu
42  %clean  %clean
43  rm -rf %{buildroot}  rm -rf %{buildroot}
44    
 %post  
 %if %mdkversion < 201000  
 pear install --nodeps --soft --force --register-only \  
     %{_datadir}/pear/packages/%{upstream_name}.xml >/dev/null || :  
 %endif  
   
 %preun  
 %if %mdkversion < 201000  
 if [ "$1" -eq "0" ]; then  
     pear uninstall --nodeps --ignore-errors --register-only \  
         %{pear_name} >/dev/null || :  
 fi  
 %endif  
   
45  %files  %files
46  %defattr(-,root,root)  %defattr(-,root,root)
47  %doc %{upstream_name}-%{version}/examples  %doc %{upstream_name}-%{version}/examples

Legend:
Removed from v.44400  
changed lines
  Added in v.44401

  ViewVC Help
Powered by ViewVC 1.1.28