Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp47313lqp; Tue, 11 Jun 2024 14:12:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDRVY4LjvegqxgwBRe4yrGwacGFyLO+g401IsrjjnVOUiE7bdctfuHAdfOf/O8Og43Ug5UO4FVGEP0FT078W3zKlIn8xe5lbji2Yt5TA== X-Google-Smtp-Source: AGHT+IF2WDSYOwr3XBqAvj9KpDijy2wFETQC6vlbSrb7iTsHsJtVv/yn/inDJD3K195h4A5e4B7j X-Received: by 2002:a05:6808:3097:b0:3d2:1c91:86e8 with SMTP id 5614622812f47-3d23e0a783bmr102891b6e.45.1718140338727; Tue, 11 Jun 2024 14:12:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718140338; cv=pass; d=google.com; s=arc-20160816; b=v0csfDOEWREcbLN9aOsiyCcTa0mUqTVf2ed5h4aPqi8YUFsxhH6FN0OPfRhun9xgnf 0WnWoarOe6OcNPPYdtniDCN9JXg8gflnC3LlFHEOGG6BXqtsQCj6Mt5Ti+w5WMRzkZ2A Fwq/UqviI6IsDATSOFdGAFqXRIBKZgxYGQ79x6vJd3p2NkKf2TCSyoF+2xJTsb2vQ5hg iulAor899rlFsSoxGYZK4Js3OgP0aSCGuAt27yKEQgFCYQPynhEMUvTAN31T5sx0KXfA +Ty6xlOIztzigIVPyzHoDA24BCfX67BWY5RSsKSlQGbfxWJ8zYNZqSft7kn5UK2axxFM dOyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=SlR2/lfVcOXnQva5QGCQYKDDAgBcAMAi4HJTFcXB9Zc=; fh=Odp6fUR5X7RVkbeqGMbo7TAj13TRRM1l8boGbe3bHxU=; b=XCFJeIKW9j3koqYXBiRQJb9pktbJqpKzjbcBSoy+MkMPCD7lHxxb5IjiAzg4v9XTYK pjWMffK3IHEbjgp5bwEHViVGHJhwRexnVtrnwPeYRbgCPdbfyYYjI1Xw6OFdeI61DEmr rSFb63mL0++R5b1Z8VIJTAO1vfoBzGuHWMIj4varxe89Vlb5goD0kgSa7ywvR0fE+gzW Zs3d4qWHvbs8kqltiee+6FC5kNSM8Y43YG6nRwOharNidEM5fSIjJ22DgPY2owh1Qcb2 3kvljGr+j9o0BAHBhCCfmcysWtHZxUTs3fdSy7tFGouDsPN0RjccD94Xkn8Mhwc25/bg hjfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O6ZSgRoc; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-210605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44102eb40desi46307971cf.398.2024.06.11.14.12.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 14:12:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O6ZSgRoc; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-210605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6FE591C2337B for ; Tue, 11 Jun 2024 21:12:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 720E0153580; Tue, 11 Jun 2024 21:12:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="O6ZSgRoc" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3633E153501 for ; Tue, 11 Jun 2024 21:11:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718140319; cv=none; b=JYOLBfKd6FDLWvMhAqPfxdv/7Aj4ZMQ9AZs+aggW/KyMzLKmaUXIN7IeQu/68vi1U1MO1nI0q3OQf5Orm4UhnsgA3c0tq9EZ3vVZcRJGNXG16YdXUkTk2p6lEfUYEVlQ0m2/3El/A2z4+l1sCTyN0tTNF374SloSt0HK+0djdhQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718140319; c=relaxed/simple; bh=Nmr+C12wF1RYYg9mmz1DcQEFznuFVjX6ABSCFL5q4fM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=s1yYGHIvLMw8acRRCssUPiklRUuT5x3Gv/6bql++3iHGm1732mk2HOTBm4j06vCTvBrJ8PElP3WUASJ1WveQg3+40Rd0Xzfl6BhNEHQmFdxnIyLCo3o+2/XfzSjDqZd2ppSUlfutlVAC8fE/5QND7rGHEJJmIMMt6PjWRA2TFaA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=O6ZSgRoc; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718140317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SlR2/lfVcOXnQva5QGCQYKDDAgBcAMAi4HJTFcXB9Zc=; b=O6ZSgRocX8W4+vMPsYLgQOFTtn27aVAcv1SG3FrOp9gRNqmmwcUsZhtl5HZe65CMVLSsSt jpwBwF14zjugOaPf3MMX5KLEuV9AuTsirOnlxm5Au1KL77MKEbRjqJtAcc3t6FfApQbvhT ZRtAK/bE3SqNgIU2BPJVtKRbAYFXfg0= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-224-Yuu486_5MB-iIMM5KnThLw-1; Tue, 11 Jun 2024 17:11:52 -0400 X-MC-Unique: Yuu486_5MB-iIMM5KnThLw-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8062F1956089; Tue, 11 Jun 2024 21:11:50 +0000 (UTC) Received: from optiplex-lnx.redhat.com (unknown [10.22.17.224]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 499A719560AB; Tue, 11 Jun 2024 21:11:48 +0000 (UTC) From: Rafael Aquini To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nathan Chancellor , Nicolas Schier , aquini@redhat.com Subject: [PATCH 2/2] kbuild: rpm-pkg: introduce a simple changelog section for kernel.spec Date: Tue, 11 Jun 2024 17:11:22 -0400 Message-ID: <20240611211123.959459-3-aquini@redhat.com> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Fix the following rpmbuild warning: $ make srcrpm-pkg ... RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Signed-off-by: Rafael Aquini --- scripts/package/kernel.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec index 19e458341f45..126b23c1f6c2 100644 --- a/scripts/package/kernel.spec +++ b/scripts/package/kernel.spec @@ -132,3 +132,8 @@ fi /usr/src/kernels/%{KERNELRELEASE} /lib/modules/%{KERNELRELEASE}/build %endif + +%changelog +* %(echo "$(LC_ALL=C; date +'%a %b %d %Y') $(git config --get user.name) \ +<$(git config --get user.email)>") - %{version}-%{release} +- Custom built Linux kernel. -- 2.45.1