Hello community, here is the log from the commit of package zn_poly for openSUSE:Factory checked in at 2020-09-14 12:34:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zn_poly (Old) and /work/SRC/openSUSE:Factory/.zn_poly.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zn_poly" Mon Sep 14 12:34:23 2020 rev:7 rq:834234 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/zn_poly/zn_poly.changes 2019-03-26 22:30:53.525727943 +0100 +++ /work/SRC/openSUSE:Factory/.zn_poly.new.4249/zn_poly.changes 2020-09-14 12:36:22.989406843 +0200 @@ -1,0 +2,12 @@ +Thu Sep 10 18:58:57 UTC 2020 - Dirk Mueller <[email protected]> + +- update to 0.9.2: + * fixed unsafe use of printf [!1] + * added support for Python 2.6 and Python 3 in the build system [!2, !3] + +------------------------------------------------------------------- +Sat Aug 24 16:07:12 UTC 2019 - Jan Engelhardt <[email protected]> + +- Specfile modernizations. + +------------------------------------------------------------------- Old: ---- zn_poly-0.9.1.tar.bz2 New: ---- zn_poly-0.9.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zn_poly.spec ++++++ --- /var/tmp/diff_new_pack.pwcozY/_old 2020-09-14 12:36:24.085407542 +0200 +++ /var/tmp/diff_new_pack.pwcozY/_new 2020-09-14 12:36:24.085407542 +0200 @@ -1,7 +1,7 @@ # # spec file for package zn_poly # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,15 +19,14 @@ Name: zn_poly %define abiversion 0.9 %define lname libzn_poly-0_9 -Version: 0.9.1 +Version: 0.9.2 Release: 0 Summary: Library for polynomial arithmetic in Z/nZ[x] License: BSD-2-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later Group: Productivity/Scientific/Math URL: https://gitlab.com/sagemath/zn_poly/ -Source: https://gitlab.com/sagemath/zn_poly/-/archive/0.9.1/%name-%version.tar.bz2 +Source: https://gitlab.com/sagemath/zn_poly/-/archive/%version/%name-%version.tar.bz2 Patch1: znpoly-automake.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gmp-devel BuildRequires: libtool @@ -54,13 +53,12 @@ is any modulus that fits into an unsigned long. %prep -%setup -q -%patch -P 1 -p1 +%autosetup -p1 %build autoreconf -fi %configure --disable-static -make %{?_smp_mflags} +%make_build %install %make_install @@ -70,12 +68,10 @@ %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libzn_poly-%abiversion.so %license COPYING %files devel -%defattr(-,root,root) %_libdir/libzn_poly.so %_includedir/%name/ ++++++ zn_poly-0.9.1.tar.bz2 -> zn_poly-0.9.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zn_poly-0.9.1/.gitignore new/zn_poly-0.9.2/.gitignore --- old/zn_poly-0.9.1/.gitignore 2018-10-04 11:54:49.000000000 +0200 +++ new/zn_poly-0.9.2/.gitignore 2020-01-06 16:00:08.000000000 +0100 @@ -1,10 +1,28 @@ +# configure outputs +autom4te.cache +config.log +config.status makefile + +# automake outputs +**/.deps +**/.dirstamp + +# binary build outputs *.a *.dll *.dylib *.so *.tar.gz -src/tuning.c +**/*.o tune/tune tune/tune.exe -**/*.o + +# libtools outputs +*.l[oa] + +# other generated files +src/tuning.c + +# editor temp files +*.sw[pon] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zn_poly-0.9.1/CHANGES new/zn_poly-0.9.2/CHANGES --- old/zn_poly-0.9.1/CHANGES 2018-10-04 11:54:49.000000000 +0200 +++ new/zn_poly-0.9.2/CHANGES 2020-01-06 16:00:08.000000000 +0100 @@ -1,5 +1,12 @@ CHANGELOG (summary of changes for each release) +version 0.9.2 (2019-01-06) +========================== + +* fixed unsafe use of printf [!1] +* added support for Python 2.6 and Python 3 in the build system [!2, !3] + + version 0.9.1 (2018-10-04) ========================== @@ -13,6 +20,7 @@ version 0.9 (2008-10-22) ======================== + (note: sage 3.1.3 includes a prerelease version of zn_poly 0.9, whose makefile is a bit different) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zn_poly-0.9.1/VERSION new/zn_poly-0.9.2/VERSION --- old/zn_poly-0.9.1/VERSION 2018-10-04 11:54:49.000000000 +0200 +++ new/zn_poly-0.9.2/VERSION 2020-01-06 16:00:08.000000000 +0100 @@ -1 +1 @@ -0.9.1 +0.9.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zn_poly-0.9.1/makemakefile.py new/zn_poly-0.9.2/makemakefile.py --- old/zn_poly-0.9.1/makemakefile.py 2018-10-04 11:54:49.000000000 +0200 +++ new/zn_poly-0.9.2/makemakefile.py 2020-01-06 16:00:08.000000000 +0100 @@ -147,213 +147,221 @@ import time -print "#" -print "# Do not edit directly -- this file was auto-generated" -print "# by makemakefile.py on " + time.strftime("%a, %d %b %Y %H:%M:%S +0000", - time.gmtime()) -print "#" -print "# (makemakefile.py patched for Sage, 04/2012)" -print - -print -print "CC ?= gcc" -print "CPP ?= cpp" -print "CFLAGS = " + cflags -print "CPPFLAGS = " + cppflags -print "LDFLAGS = " + ldflags -print "INCLUDES = " + includes # These are options to the C preprocessor. -print "LIBS = " + libs # These are linker options passed to the compiler. -print -print "AR ?= ar" -print "RANLIB ?= ranlib" -print -print "SHARED_FLAG ?= -shared" -print "SONAME_FLAG ?= -soname" # '-h' for the Sun/Solaris linker - -print -print "CXX ?= g++" # The C++ compiler. -print "CXXFLAGS = " + cxxflags # Options passed to the C++ compiler. -print "CPP_INCLUDES = " + cpp_includes -print "CPP_LIBS = " + cpp_libs - -print -print "HEADERS = " + " ".join(install_headers + other_headers) -print "LIBOBJS = " + " ".join([x + ".o" for x in lib_modules]) -print "TESTOBJS = " + " ".join([x + "-DEBUG.o" for x in - lib_modules + test_modules + testprof_modules]) -print "PROFOBJS = " + " ".join([x + ".o" for x in - lib_modules + prof_modules + noncpp_prof_modules + testprof_modules]) -print "CPP_PROFOBJS = " + " ".join([x + ".o" for x in - lib_modules + prof_modules + cpp_prof_modules + testprof_modules]) -print "TUNEOBJS = " + " ".join([x + ".o" for x in - lib_modules + tune_modules + testprof_modules + prof_modules + - noncpp_prof_modules if x not in ("src/tuning", "profile/prof_main")]) -print "ZN_POLY_TUNING = " + str(int(zn_poly_tuning)) -print "ZN_POLY_VERSION = " + version -print "ZN_POLY_ABI_VERSION = " + abi_version - -print -print "all: libzn_poly.a" -print -print "test: test/test" -print "tune: tune/tune" -print -print "check: test" -print "\ttest/test -quick all" -print -print "install:" -print "\tmkdir -p %s/include/zn_poly" % prefix -print "\tmkdir -p %s/lib" % prefix -print "\tcp libzn_poly.a %s/lib" % prefix -print "\tcp include/zn_poly.h %s/include/zn_poly" % prefix -print "\tcp include/wide_arith.h %s/include/zn_poly" % prefix -print -print "clean:" -print "\trm -f *.o" -print "\trm -f test/*.o" -print "\trm -f profile/*.o" -print "\trm -f tune/*.o" -print "\trm -f src/tuning.c" -print "\trm -f src/*.o" -print "\trm -f demo/bernoulli/*.o" -print "\trm -f libzn_poly.a" -print "\trm -f libzn_poly.dylib" -print "\trm -f libzn_poly*.so*" -print "\trm -f libzn_poly*.dll.a" -print "\trm -f cygzn_poly.dll" -print "\trm -f test/test" -print "\trm -f tune/tune" +now = time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()) +print( +"""# +# Do not edit directly -- this file was auto-generated +# by {0} on {1} +# +# (makemakefile.py patched for Sage, 04/2012) +""".format(__file__, now)) + + +print( +""" +CC ?= gcc +CPP ?= cpp +CFLAGS = {0} +CPPFLAGS = {1} +LDFLAGS = {2} +INCLUDES = {3} # These are options to the C preprocessor. +LIBS = {4} # These are linker options passed to the compiler. + +AR ?= ar +RANLIB ?= ranlib + +SHARED_FLAG ?= -shared +SONAME_FLAG ?= -soname # '-h' for the Sun/Solaris linker +""".format(cflags, cppflags, ldflags, includes, libs)) + + +print( +"""CXX ?= g++ # The C++ compiler. +CXXFLAGS = {0} # Options passed to the C++ compiler. +CPP_INCLUDES = {1} +CPP_LIBS = {2} +""".format(cxxflags, cpp_includes, cpp_libs)) + + +print( +"""HEADERS = {0} +LIBOBJS = {1} +TESTOBJS = {2} +PROFOBJS = {3} +CPP_PROFOBJS = {4} +TUNEOBJS = {5}""".format( + " ".join(install_headers + other_headers), + " ".join([x + ".o" for x in lib_modules]), + " ".join([x + "-DEBUG.o" for x in + lib_modules + test_modules + testprof_modules]), + " ".join([x + ".o" for x in + lib_modules + prof_modules + noncpp_prof_modules + testprof_modules]), + " ".join([x + ".o" for x in + lib_modules + prof_modules + cpp_prof_modules + testprof_modules]), + " ".join([x + ".o" for x in + lib_modules + tune_modules + testprof_modules + prof_modules + + noncpp_prof_modules if x not in ("src/tuning", "profile/prof_main")]) +)) + + +print( +"""ZN_POLY_TUNING = {0} +ZN_POLY_VERSION = {1} +ZN_POLY_ABI_VERSION = {2} +""".format(int(zn_poly_tuning), version, abi_version)) + + +print( +"""all: libzn_poly.a + +test: test/test +tune: tune/tune + +check: test +\ttest/test -quick all + +install: +\tmkdir -p {prefix}/include/zn_poly +\tmkdir -p {prefix}/lib +\tcp libzn_poly.a {prefix}/lib +\tcp include/zn_poly.h {prefix}/include/zn_poly +\tcp include/wide_arith.h {prefix}/include/zn_poly +""".format(prefix=prefix)) + + +print( +"""clean: +\trm -f *.o +\trm -f test/*.o +\trm -f profile/*.o +\trm -f tune/*.o +\trm -f src/tuning.c +\trm -f src/*.o +\trm -f demo/bernoulli/*.o +\trm -f libzn_poly.a +\trm -f libzn_poly.dylib +\trm -f libzn_poly*.so* +\trm -f libzn_poly*.dll.a +\trm -f cygzn_poly.dll +\trm -f test/test +\trm -f tune/tune""") for x in prof_progs: - print "\trm -f " + x - print "\trm -f " + x + "-ntl" + print("\trm -f " + x) + print("\trm -f " + x + "-ntl") for x in demo_progs: - print "\trm -f " + x -print -print "distclean: clean" -print "\trm -f makefile" -print -print "dist: distclean" -print "\ttar --exclude-vcs --exclude=.gitignore -czf zn_poly-$(ZN_POLY_VERSION).tar.gz *" - - -print -print -print "##### library targets" -print -print "ifeq ($(ZN_POLY_TUNING), 1)" -print "src/tuning.c: tune/tune" -print "\ttune/tune > src/tuning.c" -print "else" -print "src/tuning.c: tune/tuning.c" -print "\tcp tune/tuning.c src/tuning.c" -print "endif" -print -print "libzn_poly.a: $(LIBOBJS)" -print "\t$(AR) -r libzn_poly.a $(LIBOBJS)" -print "\t$(RANLIB) libzn_poly.a" -print -print "# TODO: Put '-single_module -fPIC -dynamiclib' into $(SHARED_FLAG)" -print "# and use that; also support $(SO_EXTENSION)..." -print "libzn_poly.dylib: $(LIBOBJS)" -print "\t$(CC) $(LDFLAGS) -single_module -fPIC -dynamiclib -o libzn_poly.dylib " \ - "$(LIBOBJS) $(LIBS)" -print -print "# Left for compatibility with previous versions of Sage's 'spkg-install':" -print "libzn_poly.dylib64: $(LIBOBJS)" -print "\t$(CC) -m64 -single_module -fPIC -dynamiclib -o libzn_poly.dylib $(LIBOBJS) $(LIBS)" -print -print "cygzn_poly.dll: $(LIBOBJS)" -print "\t$(CC) $(SHARED_FLAG) $(LDFLAGS) " \ - "-Wl,--out-implib,libzn_poly-$(ZN_POLY_VERSION).dll.a " \ - "-o cygzn_poly.dll $(LIBOBJS) $(LIBS)" -print -print "libzn_poly-$(ZN_POLY_VERSION).dll.a: cygzn_poly.dll" -print -print "libzn_poly.dll.a: libzn_poly-$(ZN_POLY_VERSION).dll.a" -print "\tln -sf libzn_poly-$(ZN_POLY_VERSION).dll.a libzn_poly.dll.a" -print "\tln -sf libzn_poly-$(ZN_POLY_VERSION).dll.a libzn_poly-$(ZN_POLY_ABI_VERSION).dll.a" -print -print "libzn_poly.so: libzn_poly-$(ZN_POLY_VERSION).so" -print "\tln -sf libzn_poly-$(ZN_POLY_VERSION).so libzn_poly.so" -print "\tln -sf libzn_poly-$(ZN_POLY_VERSION).so libzn_poly-$(ZN_POLY_ABI_VERSION).so" - -print -print "libzn_poly-$(ZN_POLY_VERSION).so: $(LIBOBJS)" -print "\t$(CC) $(SHARED_FLAG) $(LDFLAGS) -Wl,-soname,libzn_poly-$(ZN_POLY_ABI_VERSION).so " \ - "-o libzn_poly-$(ZN_POLY_VERSION).so $(LIBOBJS) $(LIBS)" - -print -print -print "##### test program" -print -print "test/test: $(TESTOBJS) $(HEADERS)" -print "\t$(CC) -g $(LDFLAGS) -o test/test $(TESTOBJS) $(LIBS)" - -print -print -print "##### profiling programs" -print + print("\trm -f " + x) +print( +""" +distclean: clean +\trm -f makefile + +dist: distclean +\ttar --exclude-vcs --exclude=.gitignore -czf zn_poly-$(ZN_POLY_VERSION).tar.gz * + + +##### library targets + +ifeq ($(ZN_POLY_TUNING), 1) +src/tuning.c: tune/tune +\ttune/tune > src/tuning.c +else +src/tuning.c: tune/tuning.c +\tcp tune/tuning.c src/tuning.c +endif + +libzn_poly.a: $(LIBOBJS) +\t$(AR) -r libzn_poly.a $(LIBOBJS) +\t$(RANLIB) libzn_poly.a + +# TODO: Put '-single_module -fPIC -dynamiclib' into $(SHARED_FLAG) +# and use that; also support $(SO_EXTENSION)... +libzn_poly.dylib: $(LIBOBJS) +\t$(CC) $(LDFLAGS) -single_module -fPIC -dynamiclib -o libzn_poly.dylib $(LIBOBJS) $(LIBS) + +# Left for compatibility with previous versions of Sage's 'spkg-install': +libzn_poly.dylib64: $(LIBOBJS) +\t$(CC) -m64 -single_module -fPIC -dynamiclib -o libzn_poly.dylib $(LIBOBJS) $(LIBS) + +cygzn_poly.dll: $(LIBOBJS) +\t$(CC) $(SHARED_FLAG) $(LDFLAGS) -Wl,--out-implib,libzn_poly-$(ZN_POLY_VERSION).dll.a -o cygzn_poly.dll $(LIBOBJS) $(LIBS) + +libzn_poly-$(ZN_POLY_VERSION).dll.a: cygzn_poly.dll + +libzn_poly.dll.a: libzn_poly-$(ZN_POLY_VERSION).dll.a +\tln -sf libzn_poly-$(ZN_POLY_VERSION).dll.a libzn_poly.dll.a +\tln -sf libzn_poly-$(ZN_POLY_VERSION).dll.a libzn_poly-$(ZN_POLY_ABI_VERSION).dll.a + +libzn_poly.so: libzn_poly-$(ZN_POLY_VERSION).so +\tln -sf libzn_poly-$(ZN_POLY_VERSION).so libzn_poly.so +\tln -sf libzn_poly-$(ZN_POLY_VERSION).so libzn_poly-$(ZN_POLY_ABI_VERSION).so + +libzn_poly-$(ZN_POLY_VERSION).so: $(LIBOBJS) +\t$(CC) $(SHARED_FLAG) $(LDFLAGS) -Wl,-soname,libzn_poly-$(ZN_POLY_ABI_VERSION).so -o libzn_poly-$(ZN_POLY_VERSION).so $(LIBOBJS) $(LIBS) + + +##### test program + +test/test: $(TESTOBJS) $(HEADERS) +\t$(CC) -g $(LDFLAGS) -o test/test $(TESTOBJS) $(LIBS) + + +##### profiling programs +""") + for x in prof_progs: - print "%s-main.o: %s-main.c $(HEADERS)" % (x, x) - print "\t$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -DNDEBUG -o %s-main.o -c %s-main.c" \ - % (x, x) - print - print "%s: %s-main.o $(PROFOBJS)" % (x, x) - print "\t$(CC) $(CFLAGS) $(LDFLAGS) -o %s %s-main.o $(PROFOBJS) $(LIBS)" \ - % (x, x) - print - print "%s-main-ntl.o: %s-main.c $(HEADERS)" % (x, x) - print "\t$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -DPROFILE_NTL -DNDEBUG " \ - "-o %s-main-ntl.o -c %s-main.c" % (x, x) - print - print "%s-ntl: %s-main-ntl.o $(CPP_PROFOBJS)" % (x, x) - print "\t$(CXX) $(CXXFLAGS) $(LDFLAGS) -o %s-ntl %s-main-ntl.o " \ - "$(CPP_PROFOBJS) $(CPP_LIBS)" % (x, x) - print - -print -print -print "##### tuning utility" -print -print "tune/tune: $(TUNEOBJS)" -print "\t$(CC) $(CFLAGS) $(LDFLAGS) -o tune/tune $(TUNEOBJS) $(LIBS)" - - -print -print -print "##### demo programs" + print( +"""{0}-main.o: {0}-main.c $(HEADERS) +\t$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -DNDEBUG -o {0}-main.o -c {0}-main.c + +{0}: {0}-main.o $(PROFOBJS) +\t$(CC) $(CFLAGS) $(LDFLAGS) -o {0} {0}-main.o $(PROFOBJS) $(LIBS) + +{0}-main-ntl.o: {0}-main.c $(HEADERS) +\t$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -DPROFILE_NTL -DNDEBUG -o {0}-main-ntl.o -c {0}-main.c + +{0}-ntl: {0}-main-ntl.o $(CPP_PROFOBJS) +\t$(CXX) $(CXXFLAGS) $(LDFLAGS) -o {0}-ntl {0}-main-ntl.o $(CPP_PROFOBJS) $(CPP_LIBS) +""".format(x)) + + +print( +""" + +##### tuning utility + +tune/tune: $(TUNEOBJS) +\t$(CC) $(CFLAGS) $(LDFLAGS) -o tune/tune $(TUNEOBJS) $(LIBS) + + +##### demo programs +""") for x in demo_progs: - print - print "%s: %s.o $(LIBOBJS)" % (x, x) - print "\t$(CC) $(CFLAGS) $(LDFLAGS) -o %s %s.o $(LIBOBJS) $(LIBS)" % (x, x) + print( +"""{0}: {0}.o $(LIBOBJS) +\t$(CC) $(CFLAGS) $(LDFLAGS) -o {0} {0}.o $(LIBOBJS) $(LIBS) +""".format(x)) -print -print -print "##### object files (with debug code)" +print("\n##### object files (with debug code)\n") for x in lib_modules + test_modules + testprof_modules + demo_progs: - print - print "%s-DEBUG.o: %s.c $(HEADERS)" % (x, x) - print "\t$(CC) -g $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -DDEBUG -o %s-DEBUG.o -c %s.c" \ - % (x, x) - -print -print -print "##### object files (no debug code)" -for x in lib_modules + prof_modules + testprof_modules + \ - tune_modules + demo_progs: - print - print "%s.o: %s.c $(HEADERS)" % (x, x) - print "\t$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -DNDEBUG -o %s.o -c %s.c" % (x, x) - -print -print -print "##### object files (C++, no debug code)" -for x in cpp_prof_modules: - print - print "%s.o: %s.c $(HEADERS)" % (x, x) - print "\t$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(CPP_INCLUDES) -DNDEBUG -o %s.o -c %s.c" \ - % (x, x) + print( +"""{0}-DEBUG.o: {0}.c $(HEADERS) +\t$(CC) -g $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -DDEBUG -o {0}-DEBUG.o -c {0}.c +""".format(x)) + + +print("\n##### object files (no debug code)\n") +for x in (lib_modules + prof_modules + testprof_modules + + tune_modules + demo_progs): + print( +"""{0}.o: {0}.c $(HEADERS) +\t$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -DNDEBUG -o {0}.o -c {0}.c +""".format(x)) -### end of file +print("\n##### object files (C++, no debug code)\n") +for x in cpp_prof_modules: + print( +"""{0}.o: {0}.c $(HEADERS) +\t$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(CPP_INCLUDES) -DNDEBUG -o {0}.o -c {0}.c +""".format(x)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zn_poly-0.9.1/tune/tune.c new/zn_poly-0.9.2/tune/tune.c --- old/zn_poly-0.9.1/tune/tune.c 2018-10-04 11:54:49.000000000 +0200 +++ new/zn_poly-0.9.2/tune/tune.c 2020-01-06 16:00:08.000000000 +0100 @@ -105,7 +105,7 @@ size_t x; // generate tuning.c file - printf (header); + printf ("%s", header); x = ZNP_mpn_smp_kara_thresh; printf ("size_t ZNP_mpn_smp_kara_thresh = "); @@ -172,7 +172,7 @@ printf (" },\n"); } - printf (footer); + printf ("%s", footer); gmp_randclear (randstate); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zn_poly-0.9.1/tune/tuning.c new/zn_poly-0.9.2/tune/tuning.c --- old/zn_poly-0.9.1/tune/tuning.c 2018-10-04 11:54:49.000000000 +0200 +++ new/zn_poly-0.9.2/tune/tuning.c 2020-01-06 16:00:08.000000000 +0100 @@ -1,4 +1,15 @@ /* + NOTE: This copy of tuning.c was bootstrapped from earlier versions of the + program and just contains some initial values from David Harvey's own + machine at the time the file was generated. + + It can be regenerated (as explained in the next comment) by building the + "tune" program, and then generating tunings and replacing this file with + the generated one. However, in practice this should not be necessary + (the generated tunings are used, finally, for the zn_poly library itself). + */ + +/* NOTE: do not edit this file! It is auto-generated by the "tune" program. (Run "make tune" and then "./tune > tuning.c" to regenerate it.) */
