[libxslt] Remove ChangeLog



commit ed51fe6921b408bc11d7060d57831c596a49f2fb
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Wed Feb 16 20:10:17 2022 +0100

    Remove ChangeLog
    
    The ChangeLog is from pre-Git times.

 ChangeLog          | 7683 ----------------------------------------------------
 configure.ac       |   23 +-
 doc/ChangeLog.xsl  |  113 -
 libxslt.spec.in    |    7 +-
 win32/configure.js |   14 -
 5 files changed, 5 insertions(+), 7835 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8b0f46f5..164b92c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,30 +30,15 @@ LIBXSLT_VERSION_INFO=`expr $LIBXSLT_MAJOR_VERSION + $LIBXSLT_MINOR_VERSION`:$LIB
 LIBXSLT_VERSION_NUMBER=`expr $LIBXSLT_MAJOR_VERSION \* 10000 + $LIBXSLT_MINOR_VERSION \* 100 + 
$LIBXSLT_MICRO_VERSION`
 LIBXSLT_MAJOR_MINOR_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION
 
-if test -f CVS/Entries; then
-  extra=`grep ChangeLog CVS/Entries | grep -v LIBXSLT | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
-  echo extra=$extra
-  if test "$extra" != ""
-  then
-      LIBXSLT_VERSION_EXTRA="-CVS$extra"
-  fi
-else if test -d .svn ; then
-  extra=`svn info | grep Revision | sed 's+Revision: ++'`
-  echo extra=$extra
-  if test "$extra" != ""
-  then
-      LIBXSLT_VERSION_EXTRA="-SVN$extra"
-  fi
-else if test -d .git ; then
+if test -d .git ; then
   extra=`git describe | sed 's+LIBXSLT[[0-9.]]*-++'`
   echo extra=$extra
   if test "$extra" != ""
   then
       LIBXSLT_VERSION_EXTRA="-GIT$extra"
+      LIBEXSLT_VERSION_EXTRA="-GIT$extra"
   fi
 fi
-fi
-fi
 
 AC_SUBST(LIBXSLT_MAJOR_VERSION)
 AC_SUBST(LIBXSLT_MINOR_VERSION)
@@ -73,10 +58,6 @@ LIBEXSLT_VERSION_INFO=`expr $LIBEXSLT_MAJOR_VERSION + $LIBEXSLT_MINOR_VERSION`:$
 
 LIBEXSLT_VERSION_NUMBER=`expr $LIBEXSLT_MAJOR_VERSION \* 10000 + $LIBEXSLT_MINOR_VERSION \* 100 + 
$LIBEXSLT_MICRO_VERSION`
 
-if test -f CVS/Entries; then
-  LIBEXSLT_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
-fi
-
 AC_SUBST(LIBEXSLT_MAJOR_VERSION)
 AC_SUBST(LIBEXSLT_MINOR_VERSION)
 AC_SUBST(LIBEXSLT_MICRO_VERSION)
diff --git a/libxslt.spec.in b/libxslt.spec.in
index 646c7e36..ad34e3cb 100644
--- a/libxslt.spec.in
+++ b/libxslt.spec.in
@@ -59,7 +59,6 @@ with XPath functions written in Python.
 %build
 %configure
 make
-gzip -9 ChangeLog
 
 %install
 rm -fr %{buildroot}
@@ -84,7 +83,7 @@ rm -fr %{buildroot}
 %files
 %defattr(-, root, root)
 
-%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO FEATURES
+%doc AUTHORS NEWS README Copyright TODO FEATURES
 %doc doc/*.html doc/html doc/tutorial doc/tutorial2 doc/*.gif
 %doc doc/EXSLT
 %doc %{_mandir}/man1/xsltproc.1*
@@ -95,7 +94,7 @@ rm -fr %{buildroot}
 %files devel
 %defattr(-, root, root)
 
-%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO FEATURES
+%doc AUTHORS NEWS README Copyright TODO FEATURES
 %doc doc/libxslt-api.xml
 %doc doc/libxslt-refs.xml
 %doc doc/EXSLT/libexslt-api.xml
@@ -119,7 +118,7 @@ rm -fr %{buildroot}
 %files python
 %defattr(-, root, root)
 
-%doc AUTHORS ChangeLog.gz NEWS README Copyright FEATURES
+%doc AUTHORS NEWS README Copyright FEATURES
 %{_libdir}/python*/site-packages/libxslt.py*
 %{_libdir}/python*/site-packages/libxsltmod*
 %doc python/libxsltclass.txt
diff --git a/win32/configure.js b/win32/configure.js
index c1297944..66986b04 100644
--- a/win32/configure.js
+++ b/win32/configure.js
@@ -139,20 +139,6 @@ function discoverVersion()
        var fso, cf, vf, ln, s, m;
        fso = new ActiveXObject("Scripting.FileSystemObject");
        verCvs = "";
-       if (useCvsVer && fso.FileExists("..\\CVS\\Entries")) {
-               cf = fso.OpenTextFile("..\\CVS\\Entries", 1);
-               while (cf.AtEndOfStream != true) {
-                       ln = cf.ReadLine();
-                       s = new String(ln);
-                       if (s.search(/^\/ChangeLog\//) != -1) {
-                               var iDot = s.indexOf(".");
-                               var iSlash = s.indexOf("/", iDot);
-                               verCvs = "CVS" + s.substring(iDot + 1, iSlash);
-                               break;
-                       }
-               }
-               cf.Close();
-       }
        cf = fso.OpenTextFile(configFile, 1);
        if (compiler == "msvc")
                versionFile = ".\\config.msvc";


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