From 9d145c951c3a8e6eb32b2cb6eaddb93f7f52e498 Mon Sep 17 00:00:00 2001 From: Tony Aiuto Date: Tue, 22 Aug 2023 17:10:59 -0400 Subject: [PATCH] add missing license(). remove licenses(notice) --- examples/naming_package_files/BUILD | 2 -- examples/time_stamping/BUILD | 2 -- pkg/private/tar/BUILD | 2 +- tests/BUILD | 2 -- tests/util/BUILD | 2 -- tests/zip/BUILD | 2 -- 6 files changed, 1 insertion(+), 11 deletions(-) diff --git a/examples/naming_package_files/BUILD b/examples/naming_package_files/BUILD index 2230c190..373ee88c 100644 --- a/examples/naming_package_files/BUILD +++ b/examples/naming_package_files/BUILD @@ -13,8 +13,6 @@ # limitations under the License. # -*- coding: utf-8 -*- -licenses(["notice"]) - load("@rules_pkg//pkg:deb.bzl", "pkg_deb") load("@rules_pkg//pkg:tar.bzl", "pkg_tar") load(":package_upload.bzl", "debian_upload") diff --git a/examples/time_stamping/BUILD b/examples/time_stamping/BUILD index 91d01211..e74d5225 100644 --- a/examples/time_stamping/BUILD +++ b/examples/time_stamping/BUILD @@ -13,8 +13,6 @@ # limitations under the License. # -*- coding: utf-8 -*- -licenses(["notice"]) - load("@rules_pkg//pkg:tar.bzl", "pkg_tar") pkg_tar( diff --git a/pkg/private/tar/BUILD b/pkg/private/tar/BUILD index fb9ab50a..c42847f7 100644 --- a/pkg/private/tar/BUILD +++ b/pkg/private/tar/BUILD @@ -18,7 +18,7 @@ All interfaces are subject to change at any time. load("@rules_python//python:defs.bzl", "py_binary", "py_library") -licenses(["notice"]) +package(default_applicable_licenses = ["//:license"]) filegroup( name = "standard_package", diff --git a/tests/BUILD b/tests/BUILD index 7fa40a56..81c70bda 100644 --- a/tests/BUILD +++ b/tests/BUILD @@ -26,8 +26,6 @@ package( default_visibility = ["//tests:__subpackages__"], ) -licenses(["notice"]) - exports_files(glob(["testdata/**"])) filegroup( diff --git a/tests/util/BUILD b/tests/util/BUILD index c4f4a311..0be64823 100644 --- a/tests/util/BUILD +++ b/tests/util/BUILD @@ -18,8 +18,6 @@ load("@rules_python//python:defs.bzl", "py_binary") package(default_applicable_licenses = ["//:license"]) -licenses(["notice"]) - exports_files(["defs.bzl"]) py_binary( diff --git a/tests/zip/BUILD b/tests/zip/BUILD index 0a545eca..2a04926e 100644 --- a/tests/zip/BUILD +++ b/tests/zip/BUILD @@ -22,8 +22,6 @@ load("@bazel_skylib//rules:copy_file.bzl", "copy_file") package(default_applicable_licenses = ["//:license"]) -licenses(["notice"]) - py_library( name = "zip_test_lib", srcs = [