Dnia Mon, 10 Apr 2006 19:09:38 +0200
Daniel Mróz <[EMAIL PROTECTED]> napisał(a):
> > Sprawdźcie, bo mogłem coś napsuć, ale zmiany są raczej trywialne.
> Jednak napsułem... W załączniku poprawiony SPEC.
OK, zmęczony jestem... Jeszcze jedna poprawka. Pora iść do domu...


Pozdrawiam
Beorn

-- 
Daniel 'Beorn' Mróz <[EMAIL PROTECTED]>    http://127.0.0.1/beorn
[GIT d s:- a-@ C++++ UL++++$ P+ L++++ E--- W+ N+++ o? K- w---]
[O- M- V!  PS+ PE++ Y+ PGP++ t- 5  X R !tv b+ DI D++ G++ e h*]
[                          r(-) y+                           ]
--- bacula.spec.orig	2006-04-10 19:31:13.759002750 +0200
+++ bacula.spec	2006-04-10 19:30:36.148652250 +0200
@@ -13,21 +13,21 @@
 Summary:	Bacula - The Network Backup Solution
 Summary(pl):	Bacula - rozwi±zanie do wykonywania kopii zapasowych po sieci
 Name:		bacula
-Version:	1.38.6
+Version:	1.38.7
 Release:	0.1
 Epoch:		0
 Group:		Networking/Utilities
 License:	extended GPL v2
 Source0:	http://dl.sourceforge.net/bacula/%{name}-%{version}.tar.gz
-# Source0-md5:	219382ae85671c8ff13f375b6d9aa079
+# Source0-md5:	6273f45bfbcddd66e179bc6cb7e28ad1
 Source1:	%{name}-manpages.tar.bz2
 # Source1-md5:	e4dae86d6574b360e831efd3913e7f4c
 Source2:	http://dl.sourceforge.net/bacula/%{name}-docs-%{version}.tar.gz
-# Source2-md5:	1d62608a1a0d2fa7776277f80fa29c61
+# Source2-md5:	da29daa9027c402f5d6b55a4c7982fdb
 #Source3:	http://dl.sourceforge.net/bacula/%{name}-gui-%{version}.tar.gz
 ## Source3-md5:	5fb575ceed9dee0cdf8bc7f81ef60f54
-Source4:	http://dl.sourceforge.net/bacula/%{name}-rescue-1.8.2.tar.gz
-# Source4-md5:	f43bf291f6b8296593f27022e5373d18
+Source4:	http://dl.sourceforge.net/bacula/%{name}-rescue-1.8.3.tar.gz
+# Source4-md5:	61e97e011e8d939bb15e47b6c8f0797d
 Source10:	%{name}-dir.init
 Source11:	%{name}-fd.init
 Source12:	%{name}-sd.init
@@ -382,6 +382,7 @@
 	--enable-smartalloc \
 	%{?with_console_wx:--enable-wx-console} \
 	--enable-tray-monitor \
+	%{?with_python:--with-python} \
 	--with-readline \
 	--with-tcp-wrappers \
 	--with-working-dir=%{_var}/lib/%{name} \
@@ -510,22 +511,25 @@
 	%{_libexecdir}/%{name}/grant_bacula_privileges > dev/null
 	%{_libexecdir}/%{name}/create_bacula_database > dev/null
 	%{_libexecdir}/%{name}/make_bacula_tables > dev/null
-elif [ "$DB_VER" -lt "8" ]; then
+elif [ "$DB_VER" -lt "9" ]; then
 	echo "Backing up bacula tables"
 	echo ".dump" | sqlite %{_localstatedir}/bacula.db | bzip2 > %{_localstatedir}/bacula_backup.sql.bz2
 	type=sqlite
 	echo "Upgrading bacula tables"
-	if [ "$DB_VER" -lt "8" ]; then
-		if [ "$DB_VER" -lt "7" ]; then
-			if [ "$DB_VER" -lt "6" ]; then
-				if [ "$DB_VER" -lt "5" ]; then
-					%{_libexecdir}/%{name}/update_${type}_tables_4_to_5
+	if [ "$DB_VER" -lt "9" ]; then
+		if [ "$DB_VER" -lt "8" ]; then
+			if [ "$DB_VER" -lt "7" ]; then
+				if [ "$DB_VER" -lt "6" ]; then
+					if [ "$DB_VER" -lt "5" ]; then
+						%{_libexecdir}/%{name}/update_${type}_tables_4_to_5
+					fi
+					%{_libexecdir}/%{name}/update_${type}_tables_5_to_6
 				fi
-				%{_libexecdir}/%{name}/update_${type}_tables_5_to_6
+				%{_libexecdir}/%{name}/update_${type}_tables_6_to_7
 			fi
-			%{_libexecdir}/%{name}/update_${type}_tables_6_to_7
+			%{_libexecdir}/%{name}/update_${type}_tables_7_to_8
 		fi
-		%{_libexecdir}/%{name}/update_${type}_tables_7_to_8
+		%{_libexecdir}/%{name}/update_${type}_tables_8_to_9
 	fi
 	%{_libexecdir}/%{name}/update_bacula_tables
 	echo "If bacula works correctly you can remove the backup file %{_localstatedir}/bacula_backup.sql.bz2"
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym