Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2015-08-03 17:22:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "calc" Changes: -------- --- /work/SRC/openSUSE:Factory/calc/calc.changes 2014-12-29 00:30:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2015-08-03 17:22:15.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Aug 2 15:56:19 UTC 2015 - mpluskal@suse.com + +- Use url for source +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ calc.spec ++++++ --- /var/tmp/diff_new_pack.ojX5BO/_old 2015-08-03 17:22:15.000000000 +0200 +++ /var/tmp/diff_new_pack.ojX5BO/_new 2015-08-03 17:22:15.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package calc # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,6 @@ %define soname 1 %define libname libcalc%{soname} - Name: calc Version: 2.12.5.0 Release: 0 @@ -26,7 +25,7 @@ License: LGPL-2.1 Group: Productivity/Scientific/Math Url: http://sourceforge.net/projects/calc -Source: %{name}-%{version}.tar.bz2 +Source0: http://sourceforge.net/projects/calc/files/calc/%{version}/%{name}-%{version}.tar.bz2 Source2: README.openSUSE # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: calc-2.12.3.3-no-rpath.patch @@ -39,18 +38,16 @@ functions. %package -n %{libname} - Summary: Arbitrary precision math library Group: System/Libraries -%description -n %libname +%description -n %{libname} Part of the calc release consists of an arbitrary precision math link library. This link library is used by the calc program to perform its own calculations. If you wish, you can ignore the calc program entirely and call the arbitrary precision math routines from your own C programs. %package devel - Summary: Development files for libcalc Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} @@ -67,18 +64,18 @@ %prep %setup -q %patch1 -cp "%SOURCE2" . +cp "%{SOURCE2}" . %build make EXTRA_CFLAGS="%{optflags}" HAVE_FPOS="-DHAVE_NO_FPOS" %install -make T=%{buildroot} LIBDIR=%{_libdir} SCRIPTDIR=/usr/share/calc/cscript install +make T=%{buildroot} LIBDIR=%{_libdir} SCRIPTDIR=%{_datadir}/calc/cscript install %fdupes %{buildroot}%{_datadir}/calc/ -%post -n %libname -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig -%postun -n %libname -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %files %defattr(-, root, root)