From 3501dfcea5312bf25eac796b5020756fc4a0bc4a Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Apr 05 2019 22:09:40 +0000 Subject: Fix readme/license files installaton for binary packages --- diff --git a/go2rpm/templates/profile1.spec b/go2rpm/templates/profile1.spec index 49554fd..06dfc87 100644 --- a/go2rpm/templates/profile1.spec +++ b/go2rpm/templates/profile1.spec @@ -129,10 +129,10 @@ ln -s %{gopath}/src/%{goipath} %{buildroot}%{gopath}/src/%{altipath{{ loop.index {% if has_cmd or other_cmd|length > 0 %} %files {% if license_files|length > 0 %} -%license %{golicenses} +%license {{ license_files|join(' ') }} {% endif %} {% if doc_files|length > 0 %} -%doc %{godocs} +%doc {{ doc_files|join(' ') }} {% endif %} %{_bindir}/*