From b4fe0f4e9e5eb7e3c4c909cca2c7a8008dc60d8a Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Sun, 19 Feb 2017 08:43:43 -0600 Subject: [PATCH] Correct github source URL and implement %license. --- OpenColorIO.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/OpenColorIO.spec b/OpenColorIO.spec index d8c7294..7d005ce 100644 --- a/OpenColorIO.spec +++ b/OpenColorIO.spec @@ -11,9 +11,7 @@ Summary: Enables color transforms and image display across graphics apps License: BSD URL: http://opencolorio.org/ -# Github archive was generated on the fly using the following URL: -# https://github.com/imageworks/OpenColorIO/tarball/v1.0.9 -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/imageworks/OpenColorIO/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: OpenColorIO-yaml_cpp3.patch # Utilities @@ -140,7 +138,8 @@ mv %{buildroot}%{_docdir}/%{name}/* _tmpdoc/ %files -%doc ChangeLog LICENSE README +%license LICENSE +%doc ChangeLog README %{_libdir}/*.so.* %dir %{_datadir}/ocio %{_datadir}/ocio/setup_ocio.sh