Properly install POC files

Resolves: bz#1993247
Resolves: bz#1993284
This commit is contained in:
Jan Grulich 2021-08-24 17:49:36 +02:00
parent 20a28a73c0
commit 0f6bad762c

View File

@ -5,7 +5,7 @@ Summary: Exif and Iptc metadata manipulation library
Name: exiv2
Version: 0.27.4
%global internal_ver %{version}
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+
URL: http://www.exiv2.org/
@ -75,12 +75,11 @@ BuildArch: noarch
%description doc
%{summary}.
cp %{SOURCE1} test/data/issue_ghsa_mxw9_qx4c_6m8v_poc.jp2
cp %{SOURCE2} test/data/issue_ghsa_583f_w9pm_99r2_poc.jp2
%prep
%autosetup -n %{name}-%{version}-%{?beta}%{!?beta:Source} -p1
cp %{SOURCE1} test/data/issue_ghsa_mxw9_qx4c_6m8v_poc.jp2
cp %{SOURCE2} test/data/issue_ghsa_583f_w9pm_99r2_poc.jp2
%build
%cmake \
@ -134,6 +133,11 @@ test -x %{buildroot}%{_libdir}/libexiv2.so
%changelog
* Tue Aug 24 2021 Jan Grulich <jgrulich@redhat.com> - 0.27.4-7
- Properly install POC files
Resolves: bz#1993247
Resolves: bz#1993284
* Tue Aug 24 2021 Jan Grulich <jgrulich@redhat.com> - 0.27.4-6
- Include missing tests for CVEs
Resolves: bz#1993247