Fixing howto.cls
This commit is contained in:
parent
cc1b9a522a
commit
c404e67fc0
23
pyOpenSSL-nopdfout.patch
Normal file
23
pyOpenSSL-nopdfout.patch
Normal file
@ -0,0 +1,23 @@
|
||||
--- pyOpenSSL-0.6/doc/tools/texinputs/howto.cls.nopdfout 2001-07-16 07:53:03.000000000 -0400
|
||||
+++ pyOpenSSL-0.6/doc/tools/texinputs/howto.cls 2005-03-14 20:22:34.745230000 -0500
|
||||
@@ -54,10 +54,16 @@
|
||||
% changes \\ to ', ' (comma-space), making it pass muster for
|
||||
% generating document info in the PDF file.
|
||||
\def\\{, }
|
||||
- \pdfinfo{
|
||||
- /Author (\@author)
|
||||
- /Title (\@title)
|
||||
- }
|
||||
+ \ifx\pdfoutput\relax
|
||||
+ \else
|
||||
+ \ifcase\pdfoutput
|
||||
+ \else
|
||||
+ \pdfinfo{
|
||||
+ /Author (\@author)
|
||||
+ /Title (\@title)
|
||||
+ }
|
||||
+ \fi
|
||||
+ \fi
|
||||
}}
|
||||
\begin{flushright}
|
||||
{\rm\Huge\py@HeaderFamily \@title} \par
|
||||
@ -6,6 +6,7 @@ Release: 1.p24.3
|
||||
Source0: http://pyopenssl.sf.net/%{name}-%{version}.tar.gz
|
||||
Patch0: pyOpenSSL-0.5.1-openssl097.patch
|
||||
Patch2: pyOpenSSL-elinks.patch
|
||||
Patch3: pyOpenSSL-nopdfout.patch
|
||||
License: LGPL
|
||||
Group: Development/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||
@ -26,6 +27,7 @@ High-level wrapper around a subset of the OpenSSL library, includes
|
||||
%setup -q
|
||||
%patch0 -p1 -b .openssl097
|
||||
%patch2 -p1 -b .elinks
|
||||
%patch3 -p1 -b .nopdfout
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user