Hello community,

here is the log from the commit of package gmp-ecm for openSUSE:Factory checked 
in at 2013-12-16 16:06:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmp-ecm (Old)
 and      /work/SRC/openSUSE:Factory/.gmp-ecm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gmp-ecm"

Changes:
--------
New Changes file:

--- /dev/null   2013-11-25 01:44:08.036031256 +0100
+++ /work/SRC/openSUSE:Factory/.gmp-ecm.new/gmp-ecm.changes     2013-12-16 
16:06:48.000000000 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Wed Sep 18 11:28:11 UTC 2013 - idon...@suse.com
+
+- Initial release for build.opensuse.org 
+

New:
----
  ecm-6.4.4.tar.gz
  ecm-auxi.c.patch
  gmp-ecm.changes
  gmp-ecm.spec

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

Other differences:
------------------
++++++ gmp-ecm.spec ++++++
#
# spec file for package gmp-ecm
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Summary:        Elliptic Curve Method for Integer Factorization
License:        GPL-3.0
Group:          Productivity/Scientific/Math
Name:           gmp-ecm
Version:        6.4.4
%define so_version 0
Release:        1.1
Source0:        
https://gforge.inria.fr/frs/download.php/32159/ecm-%{version}.tar.gz
# PATCH-FIX-UPSTREAM ecm-auxi.c.patch -- Add missing stdlib.h include
Patch0:         ecm-auxi.c.patch
BuildRequires:  gmp-devel >= 5.0.0
Url:            https://gforge.inria.fr/projects/ecm
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
GMP-ECM reads the numbers to be factored from stdin (one number on each
line) and requires a numerical parameter, the stage 1 bound B1. A reasonable
stage 2 bound B2 for the given B1 is chosen by default, but can be overridden
by a second numerical parameter. By default, GMP-ECM uses the ECM factoring
algorithm.

%package -n libecm%{so_version}
Summary:        Libraries for ecm
Group:          Development/Libraries/C and C++

%description -n libecm%{so_version}
Library for ecm. To use the library, you need to install ecm-devel, include
"ecm.h" in your source file and link with -lecm.

%package devel
Requires:       libecm%{so_version} = %{version}
Summary:        Development files for the libecm0 package
Group:          Development/Libraries/C and C++

%description devel
This package contains header files required when building applications which
use the libecm library.

%prep
%setup -q -n ecm-%{version}
%patch0 -p1

%build
%configure \
%if %{_lib} != "lib64"
    --disable-sse2 \
%endif
    --disable-shellcmd \
    --enable-shared \
    --disable-static

make %{?_smp_mflags}

%install
%makeinstall

rm %{buildroot}/%{_libdir}/libecm.la

%check
make check

%post -n libecm%{so_version} -p /sbin/ldconfig

%postun -n libecm%{so_version} -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING.LIB NEWS README README.lib
%{_bindir}/ecm
%{_mandir}/man1/ecm.1.gz

%files devel
%defattr(-,root,root,-)
%{_includedir}/ecm.h
%{_libdir}/libecm.so

%files -n libecm%{so_version}
%defattr(-,root,root,-)
%{_libdir}/libecm.so.*

%changelog
++++++ ecm-auxi.c.patch ++++++
Index: ecm-6.4.4/auxi.c
===================================================================
--- ecm-6.4.4.orig/auxi.c
+++ ecm-6.4.4/auxi.c
@@ -19,6 +19,7 @@ http://www.gnu.org/licenses/ or write to
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <gmp.h>
+#include <stdlib.h>
 #include "ecm-ecm.h"
 
 /******************************************************************************
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to