include new/missing header as extra Source

This commit is contained in:
Rex Dieter 2014-01-31 10:25:13 -06:00
parent dad83dde6f
commit 796605c157
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/openexr_viewers-1.0.1.tar.gz
/openexr_viewers-1.0.2.tar.gz
/openexr_viewers-2.1.0.tar.gz
/namespaceAlias.h

View File

@ -24,6 +24,8 @@ Group: Applications/Multimedia
License: AMPAS BSD
URL: http://www.openexr.com
Source0: http://download.savannah.nongnu.org/releases/openexr/openexr_viewers-%{version}.tar.gz
# missing header from ^^, should be fixed/included in subsequent releases
Source1: namespaceAlias.h
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: openexr_viewers-2.0.1-dso.patch
@ -78,6 +80,7 @@ This package contains documentation files for %{name}.
%setup -q -n openexr_viewers-%{version}
%patch1 -p1 -b .dso
cp -n %{SOURCE1} exrdisplay/namespaceAlias.h
%patch2 -p1 -b .header
%if %{_lib} == lib64

View File

@ -1 +1,2 @@
715e3e91cf19d8d09608b25deb780da9 openexr_viewers-2.1.0.tar.gz
15d30513c7de17b6544e8572635190ca namespaceAlias.h