rpms/pdftk/devel pdftk-1.41-rpmopt.patch, NONE, 1.1 pdftk.spec, 1.8, 1.9
Jochen Schmitt (s4504kr)
fedora-extras-commits at redhat.com
Mon Feb 26 20:08:29 UTC 2007
Author: s4504kr
Update of /cvs/extras/rpms/pdftk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21608
Modified Files:
pdftk.spec
Added Files:
pdftk-1.41-rpmopt.patch
Log Message:
Use of rpmoptflags
pdftk-1.41-rpmopt.patch:
--- NEW FILE pdftk-1.41-rpmopt.patch ---
--- pdftk-1.41/pdftk/Makefile.RedHat.org 2006-09-21 19:37:38.000000000 +0200
+++ pdftk-1.41/pdftk/Makefile.RedHat 2007-02-26 20:50:28.000000000 +0100
@@ -26,12 +26,12 @@
# if you want pdftk to ask before overwriting a file, set
# ASK_ABOUT_WARNINGS to true; otherwise: false; override this default
# with the dont_ask or do_ask command-line options
-CPPFLAGS= -O2 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers
+CPPFLAGS= ${RPM_OPT_FLAGS} -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers
CXXFLAGS= -lgcj
# itext compiler flags
# -O3 might cause pdftk to segfault on cat operation (gcc 3.4.4)
-export GCJFLAGS= -O2
+export GCJFLAGS= ${RPM_OPT_FLAGS}
#
export ARFLAGS= rs
Index: pdftk.spec
===================================================================
RCS file: /cvs/extras/rpms/pdftk/devel/pdftk.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- pdftk.spec 29 Nov 2006 21:42:41 -0000 1.8
+++ pdftk.spec 26 Feb 2007 20:07:56 -0000 1.9
@@ -1,11 +1,12 @@
Summary: The PDF Tool Kit
Name: pdftk
Version: 1.41
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://www.pdfhacks.com/pdftk/
Source0: http://www.pdfhacks.com/pdftk/%{name}-%{version}.tar.bz2
Source1: gpl.txt
+Patch1: pdftk-1.41-rpmopt.patch
Group: Applications/Publishing
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: gcc-java
@@ -32,6 +33,7 @@
%prep
%setup -q
+%patch1 -p1 -b .org
%build
unset CLASSPATH && cd pdftk && make -f Makefile.RedHat && cd -
@@ -54,6 +56,9 @@
%{_mandir}/man1/*
%changelog
+* Mon Feb 26 2007 Jochen Schmitt <s4504kr at zeus.herr-schmitt.de> 1.41-3
+- Use $$RPM_OPT_FLAGS (#228945)
+
* Wed Nov 29 2006 Jochen Schmitt <Jochen herr-schmitt de> 1.41-2
- New upstream release
More information about the fedora-extras-commits
mailing list