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

Daniel P. Berrange berrange at redhat.com
Wed Oct 19 09:12:31 UTC 2016


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




More information about the Libosinfo mailing list