fix build fail

This commit is contained in:
catastrowings 2019-12-16 16:22:58 +08:00
parent 632a9a1529
commit 2fa1e34ae6

View File

@ -1,5 +1,5 @@
Name: qpdf
Version: 8.2.1
Version: 8.4.2
Release: 2
Summary: A command-line program to transform PDF files
License: (Artistic 2.0 or ASL 2.0) and MIT
@ -24,6 +24,7 @@ on PDF files. It could have been called something like pdf-to-pdf. It also provi
useful capabilities to developers of PDF-producing software or for people who just want
to look at the innards of a PDF file to learn more about how they work.
%package devel
Summary: Development package for %{name}
Requires: %{name} = %{version}-%{release}
@ -47,6 +48,7 @@ sed -i '1c#!/usr/bin/perl' qpdf/fix-qdf
%build
autoreconf --verbose --force --install
./autogen.sh
%configure --disable-static --enable-show-failed-test-output
@ -60,9 +62,9 @@ autoreconf --verbose --force --install
%check
make check
%post -p /usr/sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /usr/sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README.md TODO ChangeLog
@ -81,5 +83,5 @@ make check
%{_mandir}/man1/*
%changelog
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 8.2.1-2
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 8.4.2-2
- openEuler init