Spec file modernization
Remove %check, because it doesn't help to just compile the testsuite rather actually run it. But running the testsuite requires dejagnu, /usr/bin/pdflatex and mkpdf, which is not (yet) packaged for Fedora/ EPEL.
This commit is contained in:
parent
276fa9e0f0
commit
bc09f36021
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
||||
/gpgkey-432FC753112F26D9EB48DDC1A17CF2CA697BEAF2.gpg
|
||||
/pdfgrep-*.tar.gz
|
||||
/pdfgrep-*.tar.gz.asc
|
||||
|
@ -1,12 +1,15 @@
|
||||
Summary: Tool to search text in PDF files
|
||||
Name: pdfgrep
|
||||
Version: 2.1.2
|
||||
Release: 6%{?dist}
|
||||
Summary: Tool to search text in PDF files
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://pdfgrep.org/
|
||||
Source0: https://pdfgrep.org/download/%{name}-%{version}.tar.gz
|
||||
Source1: https://pdfgrep.org/download/%{name}-%{version}.tar.gz.asc
|
||||
Source2: gpgkey-432FC753112F26D9EB48DDC1A17CF2CA697BEAF2.gpg
|
||||
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: poppler-cpp-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
@ -21,6 +24,7 @@ in directories. It supports regular expressions (POSIX and PCRE), provides
|
||||
colored output and finally also support for password protected PDF files.
|
||||
|
||||
%prep
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
@ -30,9 +34,6 @@ colored output and finally also support for password protected PDF files.
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%check
|
||||
make -C testsuite
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS.md README.md
|
||||
|
2
sources
2
sources
@ -1 +1,3 @@
|
||||
SHA512 (gpgkey-432FC753112F26D9EB48DDC1A17CF2CA697BEAF2.gpg) = ff0e281c8b1fd65a62478b8f514336ff641000fb8fc7c4111d51f2284fd500ae5757e9db8c18cd9509f3ac6138bdd0963ce580b7891efdd1dd62419a4ee0aaca
|
||||
SHA512 (pdfgrep-2.1.2.tar.gz) = 27bc4741e5203b2fd265815a22ad8d702b3455b2ae932641b040fc9ce615bc9ff0abef221eb2ec8aa59c79cb139d31184261d076f9731177129a473d62aa4e5c
|
||||
SHA512 (pdfgrep-2.1.2.tar.gz.asc) = 136a187fc2f2a04b9ac83b04d1f7aa7f440674fa4c94fe28729eaa595c291e45e62d902013dd2f89a62c7730c146af642859cfd8085719c3516644bca1f314f1
|
||||
|
Loading…
Reference in New Issue
Block a user