[Libosinfo] [PATCH db] include COPYING file as license for archive
Daniel P. Berrange
berrange at redhat.com
Thu Oct 20 12:21:45 UTC 2016
On Thu, Oct 20, 2016 at 02:09:07PM +0200, Fabiano Fidêncio wrote:
> 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
> >
>
> Shouldn't we add the generated COPYING file to the spec as well?
Oh yes, it should.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|
More information about the Libosinfo
mailing list