summaryrefslogtreecommitdiffstats
path: root/scripts/add-changelog.sh
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2021-03-07 13:25:32 +0100
committerThorsten Leemhuis <fedora@leemhuis.info>2021-03-07 13:32:55 +0100
commitfb72952d5b63e40f63bfa1e3a5bce2262c424197 (patch)
treed1a9bf30437653b57b398fd3b4f3fb4897ca29cd /scripts/add-changelog.sh
parentb9488a288ec844af97a516ac9ffe441221f6e67d (diff)
parent3422e04a2e31dba3e17af206f160d4fc409f4250 (diff)
downloadkernel-fb72952d5b63e40f63bfa1e3a5bce2262c424197.tar.gz
kernel-fb72952d5b63e40f63bfa1e3a5bce2262c424197.tar.xz
kernel-fb72952d5b63e40f63bfa1e3a5bce2262c424197.zip
:merge origin/stabilization and update to 5.10.4kernel-5.11.4-125.vanilla.1.fc33kernel-5.11.4-125.vanilla.1.fc32
Diffstat (limited to 'scripts/add-changelog.sh')
-rwxr-xr-xscripts/add-changelog.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/add-changelog.sh b/scripts/add-changelog.sh
deleted file mode 100755
index fa0157afb..000000000
--- a/scripts/add-changelog.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-# Emulate the changelog part of rpmdev-bumpspec without the bumping of the
-# rev. Because Laura keeps typoing her name and the date.
-
-CURDATE=`date +"%a %b %d %Y"`
-PACKAGER=`rpmdev-packager`
-CHANGELOG="%changelog\n* $CURDATE $PACKAGER\n- $1\n"
-
-awk -v CHANGE="$CHANGELOG" '/%changelog/ {print CHANGE} \
- !/%changelog/ { print $0 }' \
- < kernel.spec > kernel.spec.tmp
-mv kernel.spec.tmp kernel.spec