From dac6ac8dc84be29fdef17e80be8a5b9f3f5df992 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Tue, 27 Nov 2018 18:21:34 +0000 Subject: Rename source and binary package name Short name 'src' is considered confusing by FTP-team (see #881896). --- debian/changelog | 2 +- debian/control | 4 ++-- debian/docs | 1 + debian/rules | 6 ++++-- debian/src.docs | 1 - 5 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 debian/docs delete mode 100644 debian/src.docs (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index fa0212c..15afc11 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -src (1.20-1) unstable; urgency=medium +simple-revision-control (1.20-1) unstable; urgency=medium * Initial release (Closes: #881896) diff --git a/debian/control b/debian/control index ff03bad..2b42869 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,4 @@ -Source: src +Source: simple-revision-control Section: vcs Priority: optional Maintainer: Dmitry Bogatov @@ -11,7 +11,7 @@ Homepage: https://gitlab.com/esr/src Vcs-Browser: https://salsa.debian.org/debian/src Vcs-Git: https://salsa.debian.org/debian/src.git -Package: src +Package: simple-revision-control Architecture: any Depends: python3, rcs, ${misc:Depends} Suggests: sccs diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..3fc8d9c --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +FAQ.asc diff --git a/debian/rules b/debian/rules index 6f02ed0..d6ae3c1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,6 @@ #!/usr/bin/make -f export prefix=/usr +DESTDIR=debian/simple-revision-control %: dh $@ @@ -7,13 +8,14 @@ override_dh_installchangelogs: dh_installchangelogs NEWS override_dh_auto_install: dh_auto_install - sed -i '1s:.*:#!/usr/bin/python3:' debian/src/usr/bin/src + sed -i '1s:.*:#!/usr/bin/python3:' $(DESTDIR)/usr/bin/src # I have rather vague understanding, what `master_encoding' is, # but using any encoding but "utf-8" looks suspicios. Actually, # with master_encoding, provided by upstream, I get garbled # output when trying to write commit message in non-english # language. Hope it will not break anything else. - sed -i '/^master_encoding/s:.*:master_encoding = "utf-8":' src + sed -i '/^master_encoding/s:.*:master_encoding = "utf-8":' \ + $(DESTDIR)/usr/bin/src # Test suite requires working git installation, with user.email and # user.name set. It is quite complicated to set up on buildd. diff --git a/debian/src.docs b/debian/src.docs deleted file mode 100644 index 3fc8d9c..0000000 --- a/debian/src.docs +++ /dev/null @@ -1 +0,0 @@ -FAQ.asc -- cgit v1.2.3