Hello community,

here is the log from the commit of package libnova for openSUSE:Factory checked 
in at 2012-10-04 20:00:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnova (Old)
 and      /work/SRC/openSUSE:Factory/.libnova.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnova", Maintainer is "dmuel...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnova/libnova.changes  2011-09-23 
02:09:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libnova.new/libnova.changes     2012-10-06 
18:38:22.000000000 +0200
@@ -1,0 +2,9 @@
+Sat Sep 22 18:15:21 UTC 2012 - asterios.dra...@gmail.com
+
+- Update to version 0.15.0:
+  * Bugfix release.
+- Regenerate build system because of errors about libtool during compilation
+  (added libtool build requirement for this).
+- Compile developer documentation (added doxygen build requirement for this).
+
+-------------------------------------------------------------------

Old:
----
  libnova-0.14.0.tar.gz

New:
----
  libnova-0.15.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libnova.spec ++++++
--- /var/tmp/diff_new_pack.K9Oy6Q/_old  2012-10-06 18:38:24.000000000 +0200
+++ /var/tmp/diff_new_pack.K9Oy6Q/_new  2012-10-06 18:38:24.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libnova
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,19 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
-%define debug_package_requires libnova-0_14-0 = %{version}-%{release}
+%define so_ver 0_15-0
 
 Name:           libnova
-Version:        0.14.0
-Release:        1
-License:        LGPL-2.0+
+Version:        0.15.0
+Release:        0
 Summary:        Celestial Mechanics, Astrometry and Astrodynamics Library
-Url:            http://libnova.sourceforge.net/
+License:        LGPL-2.0+
 Group:          System/Libraries
+Url:            http://libnova.sourceforge.net/
 Source0:        
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRequires:  doxygen
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  libtool
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -37,21 +39,19 @@
 calculating positions of astronomical objects or celestial mechanics.
 
 %package devel
-License:        LGPL-2.0+
 Summary:        Development files for libnova
 Group:          Development/Libraries/C and C++
 Requires:       glibc-devel
-Requires:       libnova-0_14-0 = %{version}
+Requires:       libnova-%{so_ver} = %{version}
 
 %description devel
 This package contains development files for libnova.
 
-%package -n libnova-0_14-0
-License:        LGPL-2.0+
+%package -n libnova-%{so_ver}
 Summary:        Celestial Mechanics, Astrometry and Astrodynamics Library
 Group:          System/Libraries
 
-%description -n libnova-0_14-0
+%description -n libnova-%{so_ver}
 libnova is a general purpose, double precision, Celestial Mechanics,
 Astrometry and Astrodynamics library. The intended audience of libnova
 is C & C++ programmers, astronomers and anyone else interested in
@@ -61,31 +61,41 @@
 %setup -q
 
 %build
+# Regenerate build system because of errors about libtool during compilation
+autoreconf -vif
+
 %configure --disable-static --with-pic
 make CFLAGS+="%{optflags}" %{?_smp_mflags}
+cd doc
+make doc %{?_smp_mflags}
+cd ..
 
 %install
 %make_install
 
-# Not needed
+# Manually install doc files in order to fix rpmlint warning "files-duplicate"
+mkdir -p %{buildroot}%{_docdir}/%{name}-devel
+cp -a doc/html/ %{buildroot}%{_docdir}/%{name}-devel/
+cp -a AUTHORS COPYING ChangeLog NEWS %{buildroot}%{_docdir}/%{name}-devel/
+
+# Remove libtool config files
 rm -f %{buildroot}%{_libdir}/*.la
 
-%post -n libnova-0_14-0 -p /sbin/ldconfig
+%fdupes -s %{buildroot}
 
-%postun -n libnova-0_14-0 -p /sbin/ldconfig
+%post -n libnova-%{so_ver} -p /sbin/ldconfig
 
-%clean
-rm -rf %{buildroot}
+%postun -n libnova-%{so_ver} -p /sbin/ldconfig
 
 %files devel
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING ChangeLog NEWS
+%doc %{_docdir}/%{name}-devel/
 %{_includedir}/libnova/
 %{_libdir}/libnova.so
 %{_bindir}/libnovaconfig
 
-%files -n libnova-0_14-0
+%files -n libnova-%{so_ver}
 %defattr(-,root,root,-)
-%{_libdir}/libnova-0.14.so.0*
+%{_libdir}/libnova-0.15.so.0*
 
 %changelog

++++++ libnova-0.14.0.tar.gz -> libnova-0.15.0.tar.gz ++++++
++++ 10165 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/AUTHORS new/libnova-0.15.0/AUTHORS
--- old/libnova-0.14.0/AUTHORS  2011-07-28 13:02:51.000000000 +0200
+++ new/libnova-0.15.0/AUTHORS  2012-04-28 11:41:42.000000000 +0200
@@ -27,4 +27,5 @@
 Daniel Schultze,
 Kevin Ross,
 Stephane Lamoliatte,
-Kevin Ivarsen
+Kevin Ivarsen,
+Lukasz Michalik
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/ChangeLog new/libnova-0.15.0/ChangeLog
--- old/libnova-0.14.0/ChangeLog        2011-07-30 17:57:52.000000000 +0200
+++ new/libnova-0.15.0/ChangeLog        2012-07-11 10:23:29.000000000 +0200
@@ -1,5 +1,21 @@
 ChangeLog
 
+*********** release of 0.15.0
+
+20120428
+       julian_day.c
+               Removed not-needed BSD_SOURCE define
+       
+       Petr Kubanek
+
+20120111
+       utility.c:
+       utility.h:
+       julian_day.c:
+               Fix problems with double redefinition, pointed by Lukasz 
Michalik
+       
+       Petr Kubanek
+
 *********** release of 0.14.0
 
 20110730
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/configure.in new/libnova-0.15.0/configure.in
--- old/libnova-0.14.0/configure.in     2011-07-30 17:54:51.000000000 +0200
+++ new/libnova-0.15.0/configure.in     2012-07-11 10:23:42.000000000 +0200
@@ -6,7 +6,7 @@
 
 # libtool versioning
 LIBNOVA_MAJOR_VERSION=0
-LIBNOVA_MINOR_VERSION=14
+LIBNOVA_MINOR_VERSION=15
 LIBNOVA_MICRO_VERSION=0
 
LIBNOVA_VERSION=$LIBNOVA_MAJOR_VERSION.$LIBNOVA_MINOR_VERSION.$LIBNOVA_MICRO_VERSION
 AC_SUBST(LIBNOVA_MAJOR_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/missing new/libnova-0.15.0/missing
--- old/libnova-0.14.0/missing  2010-12-09 00:19:43.000000000 +0100
+++ new/libnova-0.15.0/missing  2012-04-02 19:37:09.000000000 +0200
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-01-06.13; # UTC
 
 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@
   help2man     touch the output file
   lex          create \`lex.yy.c', if possible, from existing .c
   makeinfo     touch the output file
-  tar          try tar, gnutar, gtar, then tar without non-portable flags
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
 
 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@
     # Not GNU programs, they don't have --version.
     ;;
 
-  tar*)
-    if test -n "$run"; then
-       echo 1>&2 "ERROR: \`tar' requires --run"
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       exit 1
-    fi
-    ;;
-
   *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
@@ -226,7 +216,7 @@
          \`Bison' from any GNU archive site."
     rm -f y.tab.c y.tab.h
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
        case $LASTARG in
        *.y)
            SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@
          \`Flex' from any GNU archive site."
     rm -f lex.yy.c
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
        case $LASTARG in
        *.l)
            SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@
     touch $file
     ;;
 
-  tar*)
-    shift
-
-    # We have already tried tar in the generic part.
-    # Look for gnutar/gtar before invocation to avoid ugly error
-    # messages.
-    if (gnutar --version > /dev/null 2>&1); then
-       gnutar "$@" && exit 0
-    fi
-    if (gtar --version > /dev/null 2>&1); then
-       gtar "$@" && exit 0
-    fi
-    firstarg="$1"
-    if shift; then
-       case $firstarg in
-       *o*)
-           firstarg=`echo "$firstarg" | sed s/o//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-       case $firstarg in
-       *h*)
-           firstarg=`echo "$firstarg" | sed s/h//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-    fi
-
-    echo 1>&2 "\
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
-         You may want to install GNU tar or Free paxutils, or check the
-         command line arguments."
-    exit 1
-    ;;
-
   *)
     echo 1>&2 "\
 WARNING: \`$1' is needed, and is $msg.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/src/heliocentric_time.c 
new/libnova-0.15.0/src/heliocentric_time.c
--- old/libnova-0.14.0/src/heliocentric_time.c  2011-07-28 13:02:50.000000000 
+0200
+++ new/libnova-0.15.0/src/heliocentric_time.c  2011-09-13 22:25:52.000000000 
+0200
@@ -34,17 +34,19 @@
 */
 double ln_get_heliocentric_time_diff (double JD, struct ln_equ_posn *object)
 {
+       double theta, ra, dec, c_dec, obliq;
+
        struct ln_nutation nutation;
        struct ln_helio_posn earth;
 
        ln_get_nutation (JD, &nutation);
        ln_get_earth_helio_coords (JD, &earth);
 
-       double theta = ln_deg_to_rad (ln_range_degrees (earth.L + 180));
-       double ra = ln_deg_to_rad (object->ra);
-       double dec = ln_deg_to_rad (object->dec);
-       double c_dec = cos (dec);
-       double obliq = ln_deg_to_rad (nutation.ecliptic);
+       theta = ln_deg_to_rad (ln_range_degrees (earth.L + 180));
+       ra = ln_deg_to_rad (object->ra);
+       dec = ln_deg_to_rad (object->dec);
+       c_dec = cos (dec);
+       obliq = ln_deg_to_rad (nutation.ecliptic);
 
        /* L.Binnendijk Properties of Double Stars, Philadelphia, University of 
Pennselvania Press, pp. 228-232, 1960 */
        return -0.0057755 * earth.R * (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/src/julian_day.c new/libnova-0.15.0/src/julian_day.c
--- old/libnova-0.14.0/src/julian_day.c 2011-07-28 13:02:50.000000000 +0200
+++ new/libnova-0.15.0/src/julian_day.c 2012-04-28 11:41:42.000000000 +0200
@@ -220,6 +220,16 @@
        return (double)(2440587.5 + (double)(*in_time / (double) 86400.0));
 }
 
+#ifndef HAVE_ROUND
+
+/* Simple round to nearest */
+double round (double x)
+{
+       return floor(x + 0.5);
+}
+
+#endif /* ! HAVE_ROUND */
+
 /*! \fn void ln_get_timet_from_julian (double JD, time_t * in_time)
 * \param JD Julian day
 * \param in_time Pointer to store time_t
@@ -267,16 +277,14 @@
 * \param JD Julian day
 * \param zonedate Pointer to new calendar date.
 *
-* Calculate the zone date from the Julian day (UT). Get zone info from 
+* Calculate the zone date from the Julian day (UT). Gets zone info from 
 * system using either _timezone or tm_gmtoff fields.
 */
 void ln_get_local_date (double JD, struct ln_zonedate * zonedate)
 {
        struct ln_date date;
-#ifdef _BSD_SOURCE
        time_t curtime;
        struct tm *loctime;
-#endif
        long gmtoff;
 
        ln_get_date (JD, &date);
@@ -288,14 +296,12 @@
        if (_daylight)
                gmtoff += 3600;
 #else
-#ifdef _BSD_SOURCE
        curtime = time (NULL);
        loctime = localtime(&curtime);
        gmtoff = loctime->tm_gmtoff;
        // otherwise there is no reasonable way how to get that:(
        // tm_gmtoff already included DST
 #endif
-#endif
        ln_date_to_zonedate (&date, zonedate, gmtoff);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/src/libnova/libnova.h 
new/libnova-0.15.0/src/libnova/libnova.h
--- old/libnova-0.14.0/src/libnova/libnova.h    2011-07-28 13:02:42.000000000 
+0200
+++ new/libnova-0.15.0/src/libnova/libnova.h    2012-07-11 10:23:54.000000000 
+0200
@@ -16,7 +16,7 @@
  *  Copyright (C) 2000 - 2005 Liam Girdwood  
  */
 
-#define LIBNOVA_VERSION "0.13.0"
+#define LIBNOVA_VERSION "0.15.0"
 
 /*! \mainpage libnova
 * \image html libnova-logo.jpg
@@ -60,7 +60,7 @@
 *
 * \section download Download
 * The latest released version of libnova is 0.13.0
-* It is available for download <A 
href="http://sf.net/project/showfiles.php?group_id=57697";>here.</A>
+* It is available for download <A 
href="http://sourceforge.net/projects/libnova/files/libnova/";>here.</A>
 *
 * \section cvs CVS
 * The latest CVS version of libnova is available via CVS <A 
href="http://sf.net/cvs/?group_id=57697";>here.</A>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/src/libnova/utility.h 
new/libnova-0.15.0/src/libnova/utility.h
--- old/libnova-0.14.0/src/libnova/utility.h    2011-07-28 13:02:42.000000000 
+0200
+++ new/libnova-0.15.0/src/libnova/utility.h    2012-04-28 11:41:42.000000000 
+0200
@@ -237,13 +237,6 @@
 
 #endif /* __C89_SUB__ */
 
-#ifndef HAVE_ROUND
-
-/* Simple round to nearest */
-double round (double x);
-
-#endif /* !HAVE_ROUND */
-
 #if defined(__WIN32__) || defined(sun) || defined(__C89_SUB__)
 
 /* Not a Number function generator */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/src/nutation.c new/libnova-0.15.0/src/nutation.c
--- old/libnova-0.14.0/src/nutation.c   2011-07-28 13:02:50.000000000 +0200
+++ new/libnova-0.15.0/src/nutation.c   2011-09-02 01:30:09.000000000 +0200
@@ -249,7 +249,7 @@
                c_ecliptic = 23.0 + 26.0 / 60.0 + 21.448 / 3600.0
                    - 46.8150/3600 * T
                    - 0.00059/3600 * T2
-                   + 0.0001813/3600 * T3;
+                   + 0.001813/3600 * T3;
         
                /* c_ecliptic += c_obliquity; * Uncomment this if function 
should 
                                          return true obliquity rather than
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libnova-0.14.0/src/utility.c new/libnova-0.15.0/src/utility.c
--- old/libnova-0.14.0/src/utility.c    2011-07-28 13:02:50.000000000 +0200
+++ new/libnova-0.15.0/src/utility.c    2012-04-28 11:41:42.000000000 +0200
@@ -720,16 +720,6 @@
 
 #endif /* __C89_SUB__ */
 
-#ifndef HAVE_ROUND
-
-/* Simple round to nearest */
-double round (double x)
-{
-       return floor(x + 0.5);
-}
-
-#endif /* ! HAVE_ROUND */
-
 #if defined(__WIN32__) || defined(sun) || defined(__C89_SUB__)
 
 /* Not a Number function generator */

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to