forked from rpms/kernel
		
	Many of the steps for day-to-day updates still require a lot of manual steps which can lead to typos. Add a series of scripts to make automate the manual steps and hopefully reduce errors. These are a work in progress because having them in tree makes it easier to work out issues.
		
			
				
	
	
		
			13 lines
		
	
	
		
			412 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			412 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/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
 |