apply get_header_field enhancements from kobo and update unit test

This commit is contained in:
Mike McLean 2017-04-19 15:20:39 -04:00
parent f5066c5c6c
commit a4131e354c
8 changed files with 98 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,13 @@
Name: test-nopatch
Version: 1
Release: 1%{?dist}
Summary: Testing source arch header fields
License: none
Patch0: secret.patch
Nopatch: 0
%description
...
%files

View file

@ -0,0 +1,13 @@
Name: test-nosrc
Version: 1
Release: 1%{?dist}
Summary: Testing source arch header fields
License: none
Source0: secret.key
Nosource: 0
%description
...
%files

View file

@ -0,0 +1,11 @@
Name: test-src
Version: 1
Release: 1%{?dist}
Summary: Testing source arch header fields
License: none
%description
...
%files