https://bugzilla.redhat.com/show_bug.cgi?id=2262694



--- Comment #17 from Carlos Rodriguez-Fernandez 
<[email protected]> ---
Regarding the license, this fix would do it:

Move it to the right directory as the other LICENSE file:

```
mv %{buildroot}%{_prefix}/THIRD-PARTY.md
%{buildroot}%{_datadir}/licenses/%{name}/
```


Remove it from the "mv" doing the docs:

```
mv %{buildroot}%{_prefix}/{CHANGELOG,README}.md %{buildroot}%{_docdir}/%{name}/
```


List the licenses with a full path:

```
%license %{_datadir}/licenses/%{name}/LICENSE
%license %{_datadir}/licenses/%{name}/THIRD-PARTY.md
```


Then the build will work and place them in the right path:

```
$ rpm -ql
/var/lib/mock/fedora-rawhide-x86_64/result/materialx-1.38.8-1.fc40.x86_64.rpm |
grep licenses

/usr/share/licenses/materialx/LICENSE
/usr/share/licenses/materialx/THIRD-PARTY.md
```


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2262694

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202262694%23c17
--
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to