[pdftk] Special filtering of req. are not required anymore Remove absolute path from classpath patch

Jochen Schmitt s4504kr at fedoraproject.org
Sun Mar 20 20:34:57 UTC 2011


commit 4b54b345faed71794e084fcd5f747af4dff0b228
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date:   Sun Mar 20 21:34:46 2011 +0100

    Special filtering of req. are not required anymore
    Remove absolute path from classpath patch

 pdftk-classpath.patch |    2 +-
 pdftk.spec            |   18 +++++-------------
 2 files changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/pdftk-classpath.patch b/pdftk-classpath.patch
index a2b54e1..4ef4db4 100644
--- a/pdftk-classpath.patch
+++ b/pdftk-classpath.patch
@@ -1,5 +1,5 @@
 --- pdftk/pdftk.cc	2009-04-09 18:07:27.000000000 +0100
-+++ /home/aph/pdftk.cc	2009-04-09 18:09:20.000000000 +0100
++++ pdftk.old/pdftk.cc	2009-04-09 18:09:20.000000000 +0100
 @@ -2669,6 +2669,44 @@
  			 strcmp( argv[ii], "-h" )== 0 );
  	}
diff --git a/pdftk.spec b/pdftk.spec
index 2d44b23..54eb602 100644
--- a/pdftk.spec
+++ b/pdftk.spec
@@ -3,7 +3,7 @@
 Summary:        The PDF Tool Kit
 Name:           pdftk
 Version:        1.44
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPLv2+
 URL:            http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
 Source0:        http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/%{name}-%{version}-src.zip
@@ -69,18 +69,6 @@ mkdir -p $RPM_BUILD_ROOT/%{_bindir}
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
 install -m 0755 pdftk/pdftk $RPM_BUILD_ROOT/%{_bindir}/pdftk
 install -m 0644 pdftk.1 $RPM_BUILD_ROOT/%{_mandir}/man1/pdftk.1
-# Fix the weird dependency, e.g.
-# /usr/lib64/gcj/itext/itext-x.y.z.jar.so()(64bit)  to
-# /usr/lib64/gcj/itext/itext-x.y.z.jar.so
-%define _use_internal_dependency_generator 0
-cat << \EOF > %{name}.req
-!%{_buildshell}
-grep -v %{_docdir} - | %{__find_requires} $* \
-    | sed 's@\(itext-[0-9.]*\.jar\.so at d'
-EOF
-
-%define __find_requires %{_builddir}/%{name}-%{version}-dist/%{name}.req
-chmod +x %{__find_requires}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -94,6 +82,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/%{name}*
 
 %changelog
+* Sun Mar 20 2011 Jochen Schmitt <Jochen herr-schmitt de> 1.44-3
+- Special filtering of req. are not required anymore
+- Remove absolute path from classpath patch
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.44-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list