openSUSE / agama

A service-based Linux installer
GNU General Public License v2.0
124 stars 36 forks source link

Ensure that we reference %doc and %license in specs #1440

Closed lkocman closed 3 days ago

lkocman commented 3 days ago

https://build.opensuse.org/request/show/1185331 was rejected because of missing %license and %doc

All of packages/subdirs already had README.md in it so %doc handling is easy.

My original idea was to use _service to extract LICENSE from git to avoid replication, but that doesn't work if you create tar archive from git subdirectory which is our case.

I've noticed rust directory alrady had duplicated LICENSE, so I simply copied it to other packages too.

`<services>
  <service name="obs_scm" mode="manual">
    <param name="url">https://github.com/openSUSE/agama.git</param>
    ...
    <param name="subdir">autoinstallation</param>` # HERE