Merge remote branch 'local_master/4.3' into 4.3
authorroot <root@blindside.verivue.com>
Thu, 14 Apr 2011 15:17:46 +0000 (11:17 -0400)
committerroot <root@blindside.verivue.com>
Thu, 14 Apr 2011 15:17:46 +0000 (11:17 -0400)
1  2 
myplc.spec

diff --combined myplc.spec
@@@ -5,7 -5,7 +5,7 @@@
  
  %define name myplc
  %define version 4.3
- %define taglevel 48
+ %define taglevel 50
  
  %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
  %global python_sitearch       %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" )
@@@ -30,7 -30,6 +30,7 @@@ Summary: PlanetLab Central (PLC) Portab
  Group: Applications/Systems
  
  # as much as possible, requires should go in the subpackages specfile
 +Requires: redhat-lsb
  Requires: bzip2
  Requires: tar 
  Requires: less
@@@ -65,7 -64,6 +65,6 @@@ Requires: vixie-cro
  Requires: bootmanager
  Requires: bootcd-%{pldistro}-%{_arch}
  Requires: PLCWWW
- Requires: www-register-wizard
  Requires: nodeconfig
  Requires: PLCAPI
  Requires: pcucontrol
@@@ -149,7 -147,7 +148,7 @@@ f
  
  # 0 = install, 1 = upgrade
  if [ $1 -gt 0 ] ; then
-     for dir in /var/lib/pgsql/data /etc/planetlab ; do
+     for dir in /var/lib/pgsql/data ; do
        if [ -d $dir ] ; then
            echo "Preserving $dir"
            mkdir -p $dir.rpmsave
@@@ -172,7 -170,7 +171,7 @@@ f
  %triggerpostun -- %{name}
  # 0 = erase, 1 = upgrade
  if [ $1 -gt 0 ] ; then
-     for dir in /var/lib/pgsql/data /etc/planetlab ; do
+     for dir in /var/lib/pgsql/data ; do
        if [ -d $dir.rpmsave -a -d $dir ] ; then
            echo "Merging $dir"
            if tar -C $dir.rpmsave -cpf - . | \
  
  
  %changelog
+ * Fri Apr 08 2011 S.Çağlar Onur <caglar@verivue.com> - myplc-4.3-50
+ - Do not preserve /etc/planetlab on upgrade operations
+ * Thu Apr 07 2011 S.Çağlar Onur <caglar@verivue.com> - myplc-4.3-49
+ - Remove Monitor references from spec file
  * Wed Apr 06 2011 S.Çağlar Onur <caglar@verivue.com> - myplc-4.3-48
  - Introduce staticroute tagtype