diff --git a/efax-0.9-pdf.patch b/efax-0.9-pdf.patch new file mode 100644 index 0000000..3c1c570 --- /dev/null +++ b/efax-0.9-pdf.patch @@ -0,0 +1,11 @@ +--- fax.org 2013-05-01 11:17:38.690320600 -0500 ++++ fax.org 2013-04-29 16:04:01.574768318 -0500 +@@ -769,7 +769,7 @@ + + read x <$1 + case $x in +- %!*|?%!*) ++ %!*|?%!*|%PDF-*) + echo "$1 is postscript..." + # GS can't deal with long paths so we 'cd' + DIRNAME=`dirname $1` ; BASENAME=`basename $1` diff --git a/efax.spec b/efax.spec index 7296750..2392e81 100644 --- a/efax.spec +++ b/efax.spec @@ -1,7 +1,7 @@ Summary: A program for faxing using a Class 1, 2 or 2.0 fax modem Name: efax Version: 0.9a -Release: 14.001114%{?dist} +Release: 15.001114%{?dist} License: GPLv2+ Group: Applications/Communications Url: http://www.cce.com/efax/ @@ -17,6 +17,7 @@ Patch7: efax-0.9-viewcmd.patch Patch8: efax-0.9-quote.patch Patch9: efax-0.9-msg-va_list.patch Patch10: efax-0.9a-001114-crash.patch +Patch11: efax-0.9-pdf.patch ExcludeArch: s390 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -71,6 +72,9 @@ rm -rf %{buildroot} %dir %{_localstatedir}/log/fax %changelog +* Thu May 02 2013 Than Ngo - 0.9a-15.001114 +- bz#958485, support pdf + * Wed Mar 06 2013 Than Ngo - 0.9a-14.001114 - add -fno-strict-aliasing into RPM_OPT_FLAGS