FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 07-11-2012, 04:43 PM
Luis Henriques
 
Default UBUNTU: SAUCE: Fix full name and address in changelog

This patch normalises the way full name and email address are obtained in
debian/rules for new changelog entries in target startnewrelease.

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
debian/rules.d/1-maintainer.mk | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/rules.d/1-maintainer.mk b/debian/rules.d/1-maintainer.mk
index b3795dc..3724ca2 100644
--- a/debian/rules.d/1-maintainer.mk
+++ b/debian/rules.d/1-maintainer.mk
@@ -8,8 +8,6 @@ insertchanges:
startnewrelease:
dh_testdir
@nextminor=$(shell expr `echo $(revision) | awk -F. '{print $$2}'` + 1);
- user=$(shell whoami);
- memyselfandirene="$$(getent passwd $$user | cut -d ":" -f 5 | cut -d "," -f 1)";
now="$(shell date -R)";
echo "Creating new changelog set for $(release)-$(abinum).$$nextminor...";
echo -e "linux-ubuntu-modules-$(release) ($(release)-$(abinum).$$nextminor) UNRELEASED; urgency=low
" > debian/changelog.new;
@@ -19,8 +17,7 @@ startnewrelease:
>> debian/changelog.new;
echo " CHANGELOG: Use the insertchanges target to create the final log."
>> debian/changelog.new;
- echo -e "
-- $$memyselfandirene <$$user@ubuntu.com> $$now
" >>
- debian/changelog.new ;
+ echo -e "
-- $$DEBFULLNAME <$$DEBEMAIL> $$now
" >>debian/changelog.new;
cat debian/changelog >> debian/changelog.new;
mv debian/changelog.new debian/changelog

--
1.7.9.5


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 01:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org