From 2fa1e34ae626ab18d68b6753951df206c8ac976f Mon Sep 17 00:00:00 2001 From: catastrowings Date: Mon, 16 Dec 2019 16:22:58 +0800 Subject: [PATCH 1/2] fix build fail --- qpdf.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/qpdf.spec b/qpdf.spec index f3363fa..1eee6cf 100644 --- a/qpdf.spec +++ b/qpdf.spec @@ -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} @@ -41,12 +42,13 @@ Obsoletes: %{name}-doc < %{version}-%{release} This package contains some man help and other files for %{name}. %prep -%autosetup -p1 +%autosetup -p1 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 - 8.2.1-2 +* Wed Dec 11 2019 catastrowings - 8.4.2-2 - openEuler init -- Gitee From f7eb583ce2d3a9e2ad393f4ddc2ad70774af5c90 Mon Sep 17 00:00:00 2001 From: catastrowings Date: Mon, 16 Dec 2019 16:52:05 +0800 Subject: [PATCH 2/2] add new changelog and remove appending space --- qpdf.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qpdf.spec b/qpdf.spec index 1eee6cf..9644b37 100644 --- a/qpdf.spec +++ b/qpdf.spec @@ -42,7 +42,7 @@ Obsoletes: %{name}-doc < %{version}-%{release} This package contains some man help and other files for %{name}. %prep -%autosetup -p1 +%autosetup -p1 sed -i '1c#!/usr/bin/perl' qpdf/fix-qdf @@ -83,5 +83,8 @@ make check %{_mandir}/man1/* %changelog -* Wed Dec 11 2019 catastrowings - 8.4.2-2 +* Wed Dec 16 2019 catastrowings - 8.4.2-2 +- fix build fail + +* Wed Dec 11 2019 catastrowings - 8.2.1-2 - openEuler init -- Gitee