[Libosinfo] [PATCH db] include COPYING file as license for archive

Fabiano Fidêncio fidencio at redhat.com
Thu Oct 20 12:09:07 UTC 2016


On Wed, Oct 19, 2016 at 11:12 AM, Daniel P. Berrange
<berrange at redhat.com> wrote:
> When generating the archive of DB files we must include
> the COPYING file as the quoted license.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 53a2ea5..7f5801a 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -70,7 +70,7 @@ mingwrpm:  mingw-osinfo-db.spec $(ARCHIVE)
>         $(V_GEN) $(SED) -e "s/@VERSION@/$(TODAY)/" < $< > $@
>
>  $(ARCHIVE): $(DATA_FILES) $(SCHEMA_FILES)
> -       $(V_EXP) $(OSINFO_DB_EXPORT) --version "$(TODAY)" --dir data $(ARCHIVE)
> +       $(V_EXP) $(OSINFO_DB_EXPORT) --license COPYING --version "$(TODAY)" --dir data $(ARCHIVE)
>
>  clean:
>         rm -f osinfo-db-*.tar.xz
> --
> 2.7.4
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo

Shouldn't we add the generated COPYING file to the spec as well?




More information about the Libosinfo mailing list