The original source for this package can be found at
git://git.savannah.gnu.org/emacs.git under the
- emacs-28.1 tag. That tag was used to create the
- Debian upstream archive (emacs_1:28.1+1.orig.tar.xz)
+ emacs-28.2 tag. That tag was used to create the
+ Debian upstream archive (emacs_28.2+1.orig.tar.xz)
after making adjustments to comply with the DFSG (see below).
Please see /usr/share/doc/emacs-common/README.Debian.gz for a
The original source for this package can be found at
git://git.savannah.gnu.org/emacs.git under the
emacs-@UPSTREAM_VERSION@ tag. That tag was used to create the
- Debian upstream archive (emacs_@DEBSRC_VERSION@.orig.tar.xz)
+ Debian upstream archive (emacs_@DEBORIG_VERSION@.orig.tar.xz)
after making adjustments to comply with the DFSG (see below).
Please see /usr/share/doc/emacs-common/README.Debian.gz for a
# before the last '-'
debsrc_ver := $(shell $(pf); echo $(debian_ver) | perl -pe 's/-[^-]+$$//o')
+# Everything before the last '-' minus epoch
+deborig_ver := $(shell echo $(debsrc_ver) | sed 's/^[0-9]\+://')
+
######################################################################
# Customizable variables
-e "s|\@DEBIAN_REV\@|$(deb_rev)|go;" \
-e "s|\@UPSTREAM_VERSION\@|$(upstream_ver)|go;" \
-e "s|\@DEBSRC_VERSION\@|$(debsrc_ver)|go;" \
+ -e "s|\@DEBORIG_VERSION\@|$(deborig_ver)|go;" \
-e "s|\@MENU_VERSION\@|$(menu_ver)|go;" \
-e "s|\@X_SUPPORT\@|$(xsupport)|go;" \
-e "s|\@BIN_PRIORITY\@|$(bin_priority)|go;" \
@echo "upstream_ver: $(upstream_ver)"
@echo "debian_ver: $(debian_ver)"
@echo "debsrc_ver: $(debsrc_ver)"
+ @echo "deborig_ver: $(deborig_ver)"
@echo "debian_rev: $(debian_rev)"
@echo "runtime_ver: $(runtime_ver)"
@echo "major_ver: $(major_ver)"