]> git.pld-linux.org Git - packages/amanda.git/commitdiff
- no annoying message on upgreade, use new bcond
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 12 Aug 2004 10:42:23 +0000 (10:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amanda.spec -> 1.110

amanda.spec

index e2f28ce73c2fc2eb363bbc177be486544c0586df..5b53fba3518eb98bbac7edbc17dcfbff90157246 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_with xfs        # with support for xfsdump 
-
+#
 Summary:       A network-capable tape backup solution
 Summary(pl):   Sieciowo zorientowany system tworzenia kopii zapasowych
 Name:          amanda
@@ -31,7 +31,7 @@ BuildRequires:        gnuplot
 BuildRequires: libtool
 BuildRequires: readline-devel >= 4.2
 BuildRequires: tar
-%{?_with_xfs:BuildRequires:    xfsdump}
+%{?with_xfs:BuildRequires:     xfsdump}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _localstatedir  /var/lib
@@ -233,7 +233,9 @@ if [ -f /var/lock/subsys/rc-inetd ]; then
 else
        echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server." 1>&2
 fi
-echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
+if [ "$1" = "1" ]; then
+       echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
+fi
 
 %postun server
 /sbin/ldconfig
This page took 0.084359 seconds and 4 git commands to generate.