File: git-description.patch

package info (click to toggle)
macaulay2 1.25.11%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 174,488 kB
  • sloc: cpp: 106,417; ansic: 15,948; javascript: 5,264; sh: 3,877; makefile: 3,703; lisp: 702; yacc: 604; xml: 177; perl: 114; lex: 65; python: 40
file content (23 lines) | stat: -rw-r--r-- 869 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Provide version#"git description".
 Since we may not be building the package from a git repository, we
 hardcode the git description ahead of time.  This patch is
 automatically updated by debian/scripts/m2-get-orig-source.sh.
Author: Doug Torrance <dtorrance@debian.org>
Forwarded: not-needed
Last-Update: 2020-12-21

--- a/M2/configure.ac
+++ b/M2/configure.ac
@@ -507,10 +507,8 @@
 esac
 
 $GIT fetch --tags https://github.com/Macaulay2/M2 2> /dev/null || true
-AC_SUBST([GIT_DESCRIPTION],
-         [`$GIT describe --tags --dirty || echo release-$PACKAGE_VERSION`])
-AC_SUBST([GIT_BRANCH],
-         [`$GIT branch --show-current`])
+AC_SUBST([GIT_DESCRIPTION], [release-1.25.11])
+AC_SUBST([GIT_BRANCH], [stable])
 
 AC_SUBST(FREEBSD,no)
 AC_ARG_ENABLE(freebsd,  AS_HELP_STRING(--enable-freebsd,prepare a package file for freebsd), FREEBSD=$enableval)