[remind/f17] - fix for #816370 - rem2ps should not require margins to be at least 1/2 inch - Patch from Jonathan

Jaromír Cápík jcapik at fedoraproject.org
Thu May 3 13:03:16 UTC 2012


commit da6d7798907aa83d9c51fa73a82d7fdc6c5d13b1
Author: Jaromir Capik <jcapik at redhat.com>
Date:   Thu May 3 15:02:25 2012 +0200

    - fix for #816370 - rem2ps should not require margins to be at least 1/2 inch
    - Patch from Jonathan Kamens

 remind-03.01.12-rem2ps-margins.patch |   11 +++++++++++
 remind.spec                          |    9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/remind-03.01.12-rem2ps-margins.patch b/remind-03.01.12-rem2ps-margins.patch
new file mode 100644
index 0000000..f5279c5
--- /dev/null
+++ b/remind-03.01.12-rem2ps-margins.patch
@@ -0,0 +1,11 @@
+--- src/rem2ps.c~	2011-12-05 17:08:21.000000000 -0500
++++ src/rem2ps.c	2012-04-25 17:46:19.831719343 -0400
+@@ -772,7 +772,7 @@
+ 	case 'o':
+ 	    if (i == argc) Usage("Offset must be supplied");
+ 	    offset = atoi(argv[i++]);
+-	    if (offset < 36) offset = 36;
++	    if (offset < 0) offset = 0;
+ 	    if (!*s) Usage("Offset must specify l, r, t or b");
+ 	    while(*s) {
+ 		switch(*s++) {
diff --git a/remind.spec b/remind.spec
index 25ad70a..989b8bf 100644
--- a/remind.spec
+++ b/remind.spec
@@ -1,6 +1,6 @@
 Name:           remind
 Version:        03.01.12
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A sophisticated calendar and alarm program
 
 Group:          Applications/Productivity
@@ -9,6 +9,7 @@ URL:            http://www.roaringpenguin.com/en/penguin/openSourceProducts/remi
 Source0:        http://www.roaringpenguin.com/files/download/remind-%{version}.tar.gz
 Source1:        tkremind.desktop
 Patch0:         remind-nostrip.patch
+Patch1:         remind-03.01.12-rem2ps-margins.patch
 Requires:       tcl
 BuildRequires:  desktop-file-utils
 
@@ -38,10 +39,12 @@ iconv -c -t UTF8 remind.1 > remind.1.utf8
 %{__mv} remind.1.utf8 remind.1
 popd
 %patch0 -p1
+%patch1
 pushd www
 find . -type f -exec chmod -x {} \;
 popd
 
+
 %build
 %configure
 %{__make} %{?_smp_mflags}
@@ -91,6 +94,10 @@ desktop-file-install --vendor "fedora"             \
 %{_mandir}/man1/tkremind.1.gz
 
 %changelog
+* Thu May 03 2012 Jaromir Capik <jcapik at redhat.com> - 03.01.12-2
+- fix for #816370 - rem2ps should not require margins to be at least 1/2 inch
+- Patch from Jonathan Kamens
+
 * Mon Apr 30 2012 Jaromir Capik <jcapik at redhat.com> - 03.01.12-1
 - Updated to 03.01.12
 


More information about the scm-commits mailing list