]> git.pld-linux.org Git - packages/tar.git/blobdiff - tar.spec
- unify ftp.gnu.org urls
[packages/tar.git] / tar.spec
index 64ed9161f8302b152b0b1e587682f6f5289e95cb..31e421084ec96f4dcf36fd6c2189e4001a43999d 100644 (file)
--- a/tar.spec
+++ b/tar.spec
@@ -1,4 +1,7 @@
-%bcond_with    tests
+#
+# Conditional build:
+%bcond_with    tests   # perform make check
+#
 Summary:       A GNU file archiving program
 Summary(de.UTF-8):     GNU-Magnetband-Archivierprogramm (tar)
 Summary(es.UTF-8):     GNU Tape Archiver (tar)
@@ -7,13 +10,13 @@ Summary(pl.UTF-8):   Program do archiwizacji (GNU)
 Summary(pt_BR.UTF-8):  GNU Tape Archiver (tar)
 Summary(tr.UTF-8):     Yaygın kullanılan yedekleyici
 Name:          tar
-Version:       1.18
-Release:       1
+Version:       1.19
+Release:       2
 Epoch:         1
 License:       GPL v3+
 Group:         Applications/Archiving
-Source0:       ftp://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
-# Source0-md5: 70170208d7c1bb9ab40120579434b6a3
+Source0:       http://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
+# Source0-md5: bcc2e19b19823b9ab68c94586067a792
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 4e4b1655fe42c27a4eb5d7bcd82e74ac
 Patch0:                %{name}-man-debian.patch
@@ -21,8 +24,7 @@ Patch1:               %{name}-man.patch
 Patch2:                %{name}-info.patch
 Patch3:                %{name}-pl.po-update.patch
 Patch4:                %{name}-sock.patch
-Patch5:                %{name}-dots.patch
-Patch6:                %{name}-zero-block.patch
+Patch5:                %{name}-zero-block.patch
 URL:           http://www.gnu.org/software/tar/tar.html
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.9
@@ -30,6 +32,7 @@ BuildRequires:        bison
 BuildRequires: gettext-devel >= 0.16
 BuildRequires: sed >= 4.0
 BuildRequires: texinfo
+Conflicts:     amanda-client < 2.5.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _exec_prefix    /
@@ -131,7 +134,6 @@ sıkıştırma ve açmayı, uzak arşivleri, artımsal yedeklemeyi destekler.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
 
 rm -f po/stamp-po
 
@@ -165,11 +167,11 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.031846 seconds and 4 git commands to generate.