|
@@ -1,6 +1,6 @@
|
|
Summary: Command-line tools and library for transforming PDF files
|
|
Summary: Command-line tools and library for transforming PDF files
|
|
Name: qpdf
|
|
Name: qpdf
|
|
-Version: 8.1.0
|
|
|
|
|
|
+Version: 8.3.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
# MIT: e.g. libqpdf/sha2.c
|
|
# MIT: e.g. libqpdf/sha2.c
|
|
@@ -72,10 +72,10 @@ QPDF Manual
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%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
|
|
%build
|
|
# work-around check-rpaths errors
|
|
# 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 \
|
|
%configure --disable-static \
|
|
--enable-show-failed-test-output
|
|
--enable-show-failed-test-output
|
|
|
|
|
|
-make %{?_smp_mflags}
|
|
|
|
|
|
+%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
-make install DESTDIR=%{buildroot}
|
|
|
|
|
|
+%{make_install}
|
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging_tricks#With_.25doc
|
|
# 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
|
|
%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
|
|
%files
|
|
@@ -125,6 +125,10 @@ make check
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%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
|
|
* Tue Sep 04 2018 Toshiaki Ara <ara_t@384.jp> - 8.1.0-1
|
|
- update to 8.1.0
|
|
- update to 8.1.0
|
|
|
|
|