[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986128: unblock: rc/1.7.4+97.gceb59bb-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package rc

rc in buster added a /etc/shells entry for /usr/bin/rc
rc in bullseye switched that to /usr/bin/rc.byron (and an alternative at
/bin/rc), but did not clean up the obsolete /etc/shells entry, something
piuparts complains about. So let's remove the old entry from /etc/shells
on upgrades.

unblock rc/1.7.4+97.gceb59bb-4

Andreas
diff -Nru rc-1.7.4+97.gceb59bb/debian/changelog rc-1.7.4+97.gceb59bb/debian/changelog
--- rc-1.7.4+97.gceb59bb/debian/changelog	2021-02-03 05:20:39.000000000 +0100
+++ rc-1.7.4+97.gceb59bb/debian/changelog	2021-03-29 23:19:10.000000000 +0200
@@ -1,3 +1,14 @@
+rc (1.7.4+97.gceb59bb-4) unstable; urgency=medium
+
+  * QA upload.
+  * Remove obsolete and no longer existing /usr/bin/rc from /etc/shells on
+    upgrades.
+  * Set Rules-Requires-Root: no.
+  * Update standards version to 4.5.1, no changes needed.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+
+ -- Andreas Beckmann <anbe@debian.org>  Mon, 29 Mar 2021 23:19:10 +0200
+
 rc (1.7.4+97.gceb59bb-3) unstable; urgency=medium
 
   * QA upload.
diff -Nru rc-1.7.4+97.gceb59bb/debian/control rc-1.7.4+97.gceb59bb/debian/control
--- rc-1.7.4+97.gceb59bb/debian/control	2021-02-03 05:20:39.000000000 +0100
+++ rc-1.7.4+97.gceb59bb/debian/control	2021-03-29 23:19:10.000000000 +0200
@@ -2,12 +2,13 @@
 Section: shells
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Standards-Version: 4.5.0
+Standards-Version: 4.5.1
 Build-Depends: debhelper-compat (= 12),
                byacc,
                libncurses5-dev,
                libreadline-dev,
                procps
+Rules-Requires-Root: no
 Homepage: https://github.com/rakitzis/rc
 Vcs-Git: https://salsa.debian.org/debian/rc.git
 Vcs-Browser: https://salsa.debian.org/debian/rc
diff -Nru rc-1.7.4+97.gceb59bb/debian/rc.postinst rc-1.7.4+97.gceb59bb/debian/rc.postinst
--- rc-1.7.4+97.gceb59bb/debian/rc.postinst	2021-02-03 05:20:39.000000000 +0100
+++ rc-1.7.4+97.gceb59bb/debian/rc.postinst	2021-03-29 23:19:10.000000000 +0200
@@ -6,4 +6,9 @@
 
 add-shell /usr/bin/rc.byron
 
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1.7.4+97.gceb59bb-4~"
+then
+	remove-shell /usr/bin/rc
+fi
+
 #DEBHELPER#
diff -Nru rc-1.7.4+97.gceb59bb/debian/upstream/metadata rc-1.7.4+97.gceb59bb/debian/upstream/metadata
--- rc-1.7.4+97.gceb59bb/debian/upstream/metadata	2021-02-03 05:20:39.000000000 +0100
+++ rc-1.7.4+97.gceb59bb/debian/upstream/metadata	2021-03-29 23:19:10.000000000 +0200
@@ -1,2 +1,4 @@
 Bug-Database: https://github.com/rakitzis/rc/issues
 Bug-Submit: https://github.com/rakitzis/rc/issues/new
+Repository: https://github.com/rakitzis/rc.git
+Repository-Browse: https://github.com/rakitzis/rc

Reply to: