[lrzip] 0.601 bump
Petr Pisar
ppisar at fedoraproject.org
Thu Mar 24 10:36:03 UTC 2011
commit cef589f405c840cea2afd7b01be12525ed8e23a4
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Mar 24 11:35:21 2011 +0100
0.601 bump
.gitignore | 1 +
lrzip-0.600-Generate-manual-from-POD.patch | 47 --------------------
lrzip-0.600-Install-un-packing-symlinks.patch | 24 ----------
lrzip-0.601-Check-for-pod2man-presence.patch | 28 ++++++++++++
...-generation-to-work-with-package-generati.patch | 28 ++++++++++++
lrzip.spec | 22 +++++----
sources | 2 +-
7 files changed, 70 insertions(+), 82 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eaed548..b157b93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ lrzip-0.46.tar.bz2
/lrzip-0.570.tar.bz2
/lrzip-0.571.tar.bz2
/lrzip-0.600.tar.bz2
+/lrzip-0.601.tar.bz2
diff --git a/lrzip-0.601-Check-for-pod2man-presence.patch b/lrzip-0.601-Check-for-pod2man-presence.patch
new file mode 100644
index 0000000..1ca3370
--- /dev/null
+++ b/lrzip-0.601-Check-for-pod2man-presence.patch
@@ -0,0 +1,28 @@
+From 480b369186d369b0980a6c3738df3f48a28607f9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Thu, 24 Mar 2011 11:29:06 +0100
+Subject: [PATCH] Check for pod2man presence
+
+---
+ configure.ac | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 66ba868..0344fde 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -53,6 +53,11 @@ AC_PROG_LN_S
+ AC_SUBST(SHELL)
+ AC_SYS_LARGEFILE
+
++AC_CHECK_PROG([HAVE_POD2MAN], [pod2man], [yes])
++AS_IF([test "$HAVE_POD2MAN" != "yes"],
++ AC_MSG_FAILURE([pod2man is needed to generate manual from POD]))
++
++
+ AC_ARG_ENABLE(
+ asm,
+ [AC_HELP_STRING([--enable-asm],[Enable native Assembly code])],
+--
+1.7.4
+
diff --git a/lrzip-0.601-Fix-symlink-generation-to-work-with-package-generati.patch b/lrzip-0.601-Fix-symlink-generation-to-work-with-package-generati.patch
new file mode 100644
index 0000000..b852438
--- /dev/null
+++ b/lrzip-0.601-Fix-symlink-generation-to-work-with-package-generati.patch
@@ -0,0 +1,28 @@
+From 4aad2818f71c18f6862d1444294143a98916444e Mon Sep 17 00:00:00 2001
+From: Con Kolivas <kernel at kolivas.org>
+Date: Thu, 24 Mar 2011 10:54:49 +1100
+Subject: [PATCH] Fix symlink generation to work with package generation.
+
+Patch courtesy of Pascal Bleser <pascal.bleser at opensuse.org>
+---
+ Makefile.am | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index e36939b..5f99e04 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -75,8 +75,8 @@ EXTRA_DIST = \
+ $(dist_doc_DATA)
+
+ install-exec-hook:
+- $(LN_S) -f @bindir@/lrzip$(EXEEXT) @bindir@/lrunzip
+- $(LN_S) -f @bindir@/lrztar @bindir@/lrzuntar
++ $(LN_S) -f lrzip$(EXEEXT) $(DESTDIR)@bindir@/lrunzip$(EXEEXT)
++ $(LN_S) -f lrztar$(EXEEXT) $(DESTDIR)@bindir@/lrzuntar$(EXEEXT)
+
+
+ uninstall-local:
+--
+1.7.4
+
diff --git a/lrzip.spec b/lrzip.spec
index 5a9300f..68aa5a8 100644
--- a/lrzip.spec
+++ b/lrzip.spec
@@ -1,5 +1,5 @@
Name: lrzip
-Version: 0.600
+Version: 0.601
Release: 1%{?dist}
Summary: Compression program optimized for large files
@@ -7,16 +7,17 @@ Group: Applications/File
License: GPLv2+
URL: http://ck.kolivas.org/apps/%{name}/
Source0: http://ck.kolivas.org/apps/%{name}/%{name}-%{version}.tar.bz2
-Patch0: lrzip-0.600-Generate-manual-from-POD.patch
-Patch1: lrzip-0.600-Install-un-packing-symlinks.patch
+Patch0: lrzip-0.601-Check-for-pod2man-presence.patch
+# In upstream
+Patch1: lrzip-0.601-Fix-symlink-generation-to-work-with-package-generati.patch
-BuildRequires: bzip2-devel lzo-devel zlib-devel
+BuildRequires: bzip2-devel lzo-devel perl zlib-devel
%ifarch x86
BuildRequires: nasm
%endif
-# Because of lrzip-0.600-Generate-manual-from-POD.patch and
-# lrzip-0.600-Install-un-packing-symlinks.patch:
-BuildRequires: autoconf automake perl
+# Beacuse of lrzip-0.601-Check-for-pod2man-presence.patch and
+# lrzip-0.601-Fix-symlink-generation-to-work-with-package-generati.patch:
+BuildRequires: autoconf automake
%description
@@ -54,9 +55,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-#%%doc AUTHORS BUGS ChangeLog COPYING
-#%%doc README README-NOT-BACKWARD-COMPATIBLE TODO WHATS-NEW
-#%%doc doc/*
%{docdir}
%{_bindir}/*
%{_mandir}/man1/*.1.gz
@@ -64,6 +62,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
%changelog
+* Thu Mar 24 2011 Petr Pisar <ppisar at redhat.com> - 0.601-1
+- 0.601 bump
+- Fix symlink installation
+
* Wed Mar 23 2011 Petr Pisar <ppisar at redhat.com> - 0.600-1
- 0.600 bump
- Archives generated by this version are not backward compatible
diff --git a/sources b/sources
index a9598a5..cf20168 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1521542abf1bc8a67a4383ec269e8c22 lrzip-0.600.tar.bz2
+6f96b34e116c738dc0ce2872017e2dca lrzip-0.601.tar.bz2
More information about the scm-commits
mailing list