Browse Source

qpdf: update to 8.3.0

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12039 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 years ago
parent
commit
bb06c4a4ef
1 changed files with 17 additions and 13 deletions
  1. 17 13
      q/qpdf/qpdf-vl.spec

+ 17 - 13
q/qpdf/qpdf-vl.spec

@@ -1,6 +1,6 @@
 Summary: Command-line tools and library for transforming PDF files
 Name:    qpdf
-Version: 8.1.0
+Version: 8.3.0
 Release: 1%{?_dist_release}
 
 # MIT: e.g. libqpdf/sha2.c
@@ -72,10 +72,10 @@ QPDF Manual
 %prep
 %setup -q
 
-# fix 'complete manual location' note in man pages
-%patch0 -p1 -b .doc
+# # fix 'complete manual location' note in man pages
+# %patch0 -p1 -b .doc
 
-sed -i -e '1s,^#!/usr/bin/env perl,#!/usr/bin/perl,' qpdf/fix-qdf
+%{__sed} -i -e '1s,^#!/usr/bin/env perl,#!/usr/bin/perl,' qpdf/fix-qdf
 
 %build
 # work-around check-rpaths errors
@@ -84,24 +84,24 @@ sed -i -e '1s,^#!/usr/bin/env perl,#!/usr/bin/perl,' qpdf/fix-qdf
 %configure --disable-static \
            --enable-show-failed-test-output
 
-make %{?_smp_mflags}
+%{__make} %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot}
+%{make_install}
 
 # https://fedoraproject.org/wiki/Packaging_tricks#With_.25doc
-mkdir __doc
-mv  %{buildroot}%{_datadir}/doc/qpdf/* __doc
-rm -rf %{buildroot}%{_datadir}/doc/qpdf
+%{__mkdir_p} __doc
+%{__mv}  %{buildroot}%{_datadir}/doc/qpdf/* __doc
+%{__rm} -rf %{buildroot}%{_datadir}/doc/qpdf
 
-rm -f %{buildroot}%{_libdir}/libqpdf.la
+%{__rm} -f %{buildroot}%{_libdir}/libqpdf.la
 
 %check
-make check
+%{__make} check
 
-%post libs -p /sbin/ldconfig
+%post libs -p %{_syssbindir}/ldconfig
 
-%postun libs -p /sbin/ldconfig
+%postun libs -p %{_syssbindir}/ldconfig
 
 
 %files
@@ -125,6 +125,10 @@ make check
 
 
 %changelog
+* Tue Jan 29 2019 Toshiaki Ara <ara_t@384.jp> - 8.3.0-1
+- update to 8.3.0
+- drop Patch0 (upstream fixed)
+
 * Tue Sep 04 2018 Toshiaki Ara <ara_t@384.jp> - 8.1.0-1
 - update to 8.1.0