[minicom] dropped rh patch because /var/lock/lockdev is now world writeable

Jan Görig jgorig at fedoraproject.org
Wed Mar 9 11:04:11 UTC 2011


commit 5b1a74eeeee40e6fe587aceb038c3d4dedd78882
Author: Jan Görig <jgorig at redhat.com>
Date:   Wed Mar 9 12:02:10 2011 +0100

    dropped rh patch because /var/lock/lockdev is now world writeable

 minicom-2.5-rh.patch |  162 --------------------------------------------------
 minicom.spec         |   19 +++---
 2 files changed, 10 insertions(+), 171 deletions(-)
---
diff --git a/minicom.spec b/minicom.spec
index d1c6847..b822f26 100644
--- a/minicom.spec
+++ b/minicom.spec
@@ -1,7 +1,7 @@
 Summary: A text-based modem control and terminal emulation program
 Name: minicom
 Version: 2.5
-Release: 4%{?dist}
+Release: 5%{?dist}
 URL: http://alioth.debian.org/projects/minicom/
 License: GPLv2+
 Group: Applications/Communications
@@ -12,10 +12,9 @@ Requires: lockdev lrzsz
 
 Source0: http://alioth.debian.org/frs/download.php/3487/minicom-2.5.tar.gz
 
-Patch1: minicom-2.5-rh.patch
-Patch2: minicom-2.5-non-readable-dir.patch
-Patch3: minicom-2.5-man-minicom.patch
-Patch4: minicom-2.5-man-runscript.patch
+Patch1: minicom-2.5-non-readable-dir.patch
+Patch2: minicom-2.5-man-minicom.patch
+Patch3: minicom-2.5-man-runscript.patch
 
 %description
 Minicom is a simple text-based modem control and terminal emulation
@@ -25,16 +24,15 @@ language, and other features.
 
 %prep
 %setup -q
-%patch1 -p1 -b .rh
-%patch2 -p1 -b .dir
+%patch1 -p1 -b .dir
+%patch2 -p1 -b .man
 %patch3 -p1 -b .man
-%patch4 -p1 -b .man
 
 cp -pr doc doc_
 rm -f doc_/Makefile*
 
 %build
-%configure
+%configure --enable-lock-dir=%{_localstatedir}/lock/lockdev
 make %{?_smp_mflags}
 
 %install
@@ -58,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/*
 
 %changelog
+* Wed Mar 9 2011 Jan Görig <jgorig at redhat.com> 2.5-5
+- dropped rh patch because /var/lock/lockdev is now world writeable
+
 * Thu Feb 24 2011 Jan Görig <jgorig at redhat.com> 2.5-4
 - fixed crashing on device reconnecting (#678812)
 


More information about the scm-commits mailing list