Hello community, here is the log from the commit of package mozilla-nspr for openSUSE:Factory checked in at 2020-07-30 09:57:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mozilla-nspr (Old) and /work/SRC/openSUSE:Factory/.mozilla-nspr.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mozilla-nspr" Thu Jul 30 09:57:27 2020 rev:75 rq:823326 version:4.26 Changes: -------- --- /work/SRC/openSUSE:Factory/mozilla-nspr/mozilla-nspr.changes 2020-03-14 09:53:59.099050440 +0100 +++ /work/SRC/openSUSE:Factory/.mozilla-nspr.new.3592/mozilla-nspr.changes 2020-07-30 09:58:25.911135524 +0200 @@ -1,0 +2,9 @@ +Thu Jul 23 13:26:57 UTC 2020 - Wolfgang Rosenauer <[email protected]> + +- update to version 4.26 + * PR_GetSystemInfo supports a new flag PR_SI_RELEASE_BUILD to get + information about the operating system build version. + * Better support parallel building on Windows. + * The internal release automatic script requires python 3. + +------------------------------------------------------------------- Old: ---- nspr-4.25.tar.gz New: ---- nspr-4.26.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozilla-nspr.spec ++++++ --- /var/tmp/diff_new_pack.nx7F7j/_old 2020-07-30 09:58:33.151142015 +0200 +++ /var/tmp/diff_new_pack.nx7F7j/_new 2020-07-30 09:58:33.151142015 +0200 @@ -18,7 +18,7 @@ Name: mozilla-nspr -Version: 4.25 +Version: 4.26 Release: 0 Summary: Netscape Portable Runtime License: MPL-2.0 ++++++ nspr-4.25.tar.gz -> nspr-4.26.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/.hg_archival.txt new/nspr-4.26/nspr/.hg_archival.txt --- old/nspr-4.25/nspr/.hg_archival.txt 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/.hg_archival.txt 2020-06-24 15:26:09.000000000 +0200 @@ -1,4 +1,4 @@ repo: a4b34919bf34db2ee22acbbc305693c8980b6dc6 -node: cf14b37a4afc971cbfc502e961ac9340574efd6f +node: aff47ef77dd5f037f24bf8473ca0b9eb1fb13d5f branch: default -tag: NSPR_4_25_RTM +tag: NSPR_4_26_RTM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/automation/release/nspr-release-helper.py new/nspr-4.26/nspr/automation/release/nspr-release-helper.py --- old/nspr-4.25/nspr/automation/release/nspr-release-helper.py 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/automation/release/nspr-release-helper.py 2020-06-24 15:26:09.000000000 +0200 @@ -17,7 +17,7 @@ f_conf_in = "configure.in" def check_call_noisy(cmd, *args, **kwargs): - print "Executing command:", cmd + print("Executing command:", cmd) check_call(cmd, *args, **kwargs) o = OptionParser(usage="client.py [options] remove_beta | set_beta | print_library_versions | set_version_to_minor_release | set_version_to_patch_release | create_nspr_release_archive") @@ -30,7 +30,7 @@ sys.exit(2) def exit_with_failure(what): - print "failure: ", what + print("failure: ", what) sys.exit(2) def check_files_exist(): @@ -45,31 +45,31 @@ def toggle_beta_status(is_beta): check_files_exist() if (is_beta): - print "adding Beta status to version numbers" + print("adding Beta status to version numbers") sed_inplace('s/^\(#define *PR_VERSION *\"[0-9.]\+\)\" *$/\\1 Beta\"/', prinit_h) sed_inplace('s/^\(#define *PR_BETA *\)PR_FALSE *$/\\1PR_TRUE/', prinit_h) else: - print "removing Beta status from version numbers" + print("removing Beta status from version numbers") sed_inplace('s/^\(#define *PR_VERSION *\"[0-9.]\+\) *Beta\" *$/\\1\"/', prinit_h) sed_inplace('s/^\(#define *PR_BETA *\)PR_TRUE *$/\\1PR_FALSE/', prinit_h) - print "please run 'hg stat' and 'hg diff' to verify the files have been verified correctly" + print("please run 'hg stat' and 'hg diff' to verify the files have been verified correctly") def print_beta_versions(): check_call_noisy(["egrep", "#define *PR_VERSION|#define *PR_BETA", prinit_h]) def remove_beta_status(): - print "--- removing beta flags. Existing versions were:" + print("--- removing beta flags. Existing versions were:") print_beta_versions() toggle_beta_status(False) - print "--- finished modifications, new versions are:" + print("--- finished modifications, new versions are:") print_beta_versions() def set_beta_status(): - print "--- adding beta flags. Existing versions were:" + print("--- adding beta flags. Existing versions were:") print_beta_versions() toggle_beta_status(True) - print "--- finished modifications, new versions are:" + print("--- finished modifications, new versions are:") print_beta_versions() def print_library_versions(): @@ -103,17 +103,17 @@ set_major_versions(major) set_minor_versions(minor) set_patch_versions(patch) - print - print "===========================" - print "======== ATTENTION ========" - print - print "You *MUST* manually edit file pr/tests/vercheck.c" - print - print "Edit two arrays, named compatible_version and incompatible_version" - print "according to the new version you're adding." - print - print "======== ATTENTION ========" - print "===========================" + print() + print("===========================") + print("======== ATTENTION ========") + print() + print("You *MUST* manually edit file pr/tests/vercheck.c") + print() + print("Edit two arrays, named compatible_version and incompatible_version") + print("according to the new version you're adding.") + print() + print("======== ATTENTION ========") + print("===========================") def set_version_to_minor_release(): ensure_arguments_after_action(2, "major_version minor_version") @@ -144,12 +144,12 @@ check_call_noisy(["mkdir", "-p", nspr_stagedir]) check_call_noisy(["hg", "archive", "-r", nsprreltag, "--prefix=nspr-" + nsprrel + "/nspr", "../stage/v" + nsprrel + "/src/" + nspr_tar, "-X", ".hgtags"]) - print "changing to directory " + nspr_stagedir + print("changing to directory " + nspr_stagedir) os.chdir(nspr_stagedir) check_call("sha1sum " + nspr_tar + " > SHA1SUMS", shell=True) check_call("sha256sum " + nspr_tar + " > SHA256SUMS", shell=True) - print "created directory " + nspr_stagedir + " with files:" + print("created directory " + nspr_stagedir + " with files:") check_call_noisy(["ls", "-l"]) if action in ('remove_beta'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/configure new/nspr-4.26/nspr/configure --- old/nspr-4.25/nspr/configure 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/configure 2020-06-24 15:26:09.000000000 +0200 @@ -2486,7 +2486,7 @@ program_prefix=${target_alias}- MOD_MAJOR_VERSION=4 -MOD_MINOR_VERSION=25 +MOD_MINOR_VERSION=26 MOD_PATCH_VERSION=0 NSPR_MODNAME=nspr20 _HAVE_PTHREADS= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/configure.in new/nspr-4.26/nspr/configure.in --- old/nspr-4.25/nspr/configure.in 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/configure.in 2020-06-24 15:26:09.000000000 +0200 @@ -15,7 +15,7 @@ dnl = Defaults dnl ======================================================== MOD_MAJOR_VERSION=4 -MOD_MINOR_VERSION=25 +MOD_MINOR_VERSION=26 MOD_PATCH_VERSION=0 NSPR_MODNAME=nspr20 _HAVE_PTHREADS= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/pr/include/prinit.h new/nspr-4.26/nspr/pr/include/prinit.h --- old/nspr-4.25/nspr/pr/include/prinit.h 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/pr/include/prinit.h 2020-06-24 15:26:09.000000000 +0200 @@ -31,9 +31,9 @@ ** The format of the version string is ** "<major version>.<minor version>[.<patch level>] [<Beta>]" */ -#define PR_VERSION "4.25" +#define PR_VERSION "4.26" #define PR_VMAJOR 4 -#define PR_VMINOR 25 +#define PR_VMINOR 26 #define PR_VPATCH 0 #define PR_BETA PR_FALSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/pr/include/prsystem.h new/nspr-4.26/nspr/pr/include/prsystem.h --- old/nspr-4.25/nspr/pr/include/prsystem.h 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/pr/include/prsystem.h 2020-06-24 15:26:09.000000000 +0200 @@ -43,8 +43,9 @@ PR_SI_SYSNAME, PR_SI_RELEASE, PR_SI_ARCHITECTURE, - PR_SI_HOSTNAME_UNTRUNCATED /* the hostname exactly as configured + PR_SI_HOSTNAME_UNTRUNCATED, /* the hostname exactly as configured * on the system */ + PR_SI_RELEASE_BUILD } PRSysInfo; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/pr/src/md/unix/unix.c new/nspr-4.26/nspr/pr/src/md/unix/unix.c --- old/nspr-4.25/nspr/pr/src/md/unix/unix.c 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/pr/src/md/unix/unix.c 2020-06-24 15:26:09.000000000 +0200 @@ -3481,7 +3481,8 @@ { struct utsname info; - PR_ASSERT((cmd == PR_SI_SYSNAME) || (cmd == PR_SI_RELEASE)); + PR_ASSERT((cmd == PR_SI_SYSNAME) || (cmd == PR_SI_RELEASE) || + (cmd == PR_SI_RELEASE_BUILD)); if (uname(&info) == -1) { _PR_MD_MAP_DEFAULT_ERROR(errno); @@ -3493,6 +3494,9 @@ else if (PR_SI_RELEASE == cmd) { (void)PR_snprintf(name, namelen, info.release); } + else if (PR_SI_RELEASE_BUILD == cmd) { + (void)PR_snprintf(name, namelen, info.version); + } else { return PR_FAILURE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/pr/src/md/windows/ntmisc.c new/nspr-4.26/nspr/pr/src/md/windows/ntmisc.c --- old/nspr-4.25/nspr/pr/src/md/windows/ntmisc.c 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/pr/src/md/windows/ntmisc.c 2020-06-24 15:26:09.000000000 +0200 @@ -812,7 +812,8 @@ { OSVERSIONINFO osvi; - PR_ASSERT((cmd == PR_SI_SYSNAME) || (cmd == PR_SI_RELEASE)); + PR_ASSERT((cmd == PR_SI_SYSNAME) || (cmd == PR_SI_RELEASE) || + (cmd == PR_SI_RELEASE_BUILD)); ZeroMemory(&osvi, sizeof(OSVERSIONINFO)); osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); @@ -827,9 +828,13 @@ if (PR_SI_SYSNAME == cmd) { (void)PR_snprintf(name, namelen, "Windows_NT"); } - else if (PR_SI_RELEASE == cmd) + else if (PR_SI_RELEASE == cmd) { (void)PR_snprintf(name, namelen, "%d.%d",osvi.dwMajorVersion, osvi.dwMinorVersion); + } + else if (PR_SI_RELEASE_BUILD == cmd) { + (void)PR_snprintf(name, namelen, "%d", osvi.dwBuildNumber); + } break; case VER_PLATFORM_WIN32_WINDOWS: if (PR_SI_SYSNAME == cmd) { @@ -843,6 +848,8 @@ } else if (PR_SI_RELEASE == cmd) { (void)PR_snprintf(name, namelen, "%d.%d",osvi.dwMajorVersion, osvi.dwMinorVersion); + } else if (PR_SI_RELEASE_BUILD == cmd) { + (void)PR_snprintf(name, namelen, "%d", osvi.dwBuildNumber); } break; #ifdef VER_PLATFORM_WIN32_CE @@ -850,9 +857,15 @@ if (PR_SI_SYSNAME == cmd) { (void)PR_snprintf(name, namelen, "Windows_CE"); } - else if (PR_SI_RELEASE == cmd) + else if (PR_SI_RELEASE == cmd) { (void)PR_snprintf(name, namelen, "%d.%d",osvi.dwMajorVersion, osvi.dwMinorVersion); + } + else if (PR_SI_RELEASE_BUILD == cmd) { + if (namelen) { + *name = 0; + } + } break; #endif default: @@ -862,6 +875,11 @@ else if (PR_SI_RELEASE == cmd) { (void)PR_snprintf(name, namelen, "%d.%d",0,0); } + else if (PR_SI_RELEASE_BUILD == cmd) { + if (namelen) { + *name = 0; + } + } break; } return PR_SUCCESS; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/pr/src/misc/prsystem.c new/nspr-4.26/nspr/pr/src/misc/prsystem.c --- old/nspr-4.25/nspr/pr/src/misc/prsystem.c 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/pr/src/misc/prsystem.c 2020-06-24 15:26:09.000000000 +0200 @@ -152,6 +152,19 @@ #endif /* OS2 */ break; + case PR_SI_RELEASE_BUILD: + /* Return the version of the operating system */ +#if defined(XP_UNIX) || defined(WIN32) + if (PR_FAILURE == _PR_MD_GETSYSINFO(cmd, buf, (PRUintn)buflen)) { + return PR_FAILURE; + } +#else + if (buflen) { + *buf = 0; + } +#endif /* XP_UNIX || WIN32 */ + break; + case PR_SI_ARCHITECTURE: /* Return the architecture of the machine (ie. x86, mips, alpha, ...)*/ (void)PR_snprintf(buf, buflen, _PR_SI_ARCHITECTURE); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/pr/tests/Makefile.in new/nspr-4.26/nspr/pr/tests/Makefile.in --- old/nspr-4.25/nspr/pr/tests/Makefile.in 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/pr/tests/Makefile.in 2020-06-24 15:26:09.000000000 +0200 @@ -211,6 +211,7 @@ else EXTRA_LIBS += ws2_32.lib LDOPTS = -NOLOGO -DEBUG -DEBUGTYPE:CV -INCREMENTAL:NO + CFLAGS += -Fd$(@:.$(OBJ_SUFFIX)=.pdb) ifdef PROFILE LDOPTS += -PROFILE -MAP endif # profile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.25/nspr/pr/tests/vercheck.c new/nspr-4.26/nspr/pr/tests/vercheck.c --- old/nspr-4.25/nspr/pr/tests/vercheck.c 2020-01-31 21:37:50.000000000 +0100 +++ new/nspr-4.26/nspr/pr/tests/vercheck.c 2020-06-24 15:26:09.000000000 +0200 @@ -41,7 +41,7 @@ "4.10.5", "4.10.6", "4.10.7", "4.10.8", "4.10.9", "4.10.10", "4.11", "4.12", "4.13", "4.14", "4.15", "4.16", "4.17", "4.18", "4.19", "4.20", "4.21", "4.22", - "4.23", "4.24", + "4.23", "4.24", "4.25", PR_VERSION }; @@ -57,8 +57,8 @@ "3.0", "3.0.1", "3.1", "3.1.1", "3.1.2", "3.1.3", "3.5", "3.5.1", - "4.25.1", - "4.26", "4.26.1", + "4.26.1", + "4.27", "4.27.1", "10.0", "11.1", "12.14.20" };
