Hello community,

here is the log from the commit of package bc for openSUSE:Factory checked in 
at 2014-12-01 14:00:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bc (Old)
 and      /work/SRC/openSUSE:Factory/.bc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/bc/bc.changes    2012-09-20 15:48:32.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.bc.new/bc.changes       2014-12-01 
14:00:44.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Nov 28 20:48:58 UTC 2014 - [email protected]
+
+- Clean up with spec-cleaner
+- Add ncurses-devel as it is inherited from readline
+- Explicitely pass without-libedit if we decide to switch for
+  it at some point
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ bc.spec ++++++
--- /var/tmp/diff_new_pack.N4Xwwh/_old  2014-12-01 14:00:45.000000000 +0100
+++ /var/tmp/diff_new_pack.N4Xwwh/_new  2014-12-01 14:00:45.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bc
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,25 +17,24 @@
 
 
 Name:           bc
-BuildRequires:  bison
-BuildRequires:  ed
-BuildRequires:  flex
-%if 0%{?suse_version} > 1220
-BuildRequires:  makeinfo
-%endif
-BuildRequires:  readline-devel
-Url:            ftp://ftp.gnu.org/pub/gnu/bc
-PreReq:         %{install_info_prereq}
 Version:        1.06.95
 Release:        0
 Summary:        GNU Command Line Calculator
 License:        GPL-2.0+
 Group:          Productivity/Scientific/Math
+Url:            ftp://ftp.gnu.org/pub/gnu/bc
 Source:         ftp://alpha.gnu.org/pub/gnu/bc/bc-%{version}.tar.bz2
 Patch1:         bc-1.06-dc_ibase.patch
 Patch2:         bc-1.06.95-memleak.patch
 Patch3:         bc-1.06.95-matlib.patch
 Patch4:         bc-1.06.95-sigintmasking.patch
+BuildRequires:  bison
+BuildRequires:  ed
+BuildRequires:  flex
+BuildRequires:  makeinfo
+BuildRequires:  ncurses-devel
+BuildRequires:  readline-devel
+Requires(post): %{install_info_prereq}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -64,17 +63,13 @@
 %patch4 -p1 -b .sigintmask
 
 %build
-./configure CFLAGS="$RPM_OPT_FLAGS" \
+%configure \
             --with-readline \
-            --prefix=/usr \
-           --infodir=%{_infodir} \
-            --mandir=%{_mandir} \
-            --build=%{_target_cpu}-suse-linux
-rm bc/libmath.h
-make
+    --without-libedit
+make %{?_smp_mflags}
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
 %post
 %install_info --info-dir=%{_infodir} %{_infodir}/bc.info.gz
@@ -87,8 +82,8 @@
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README COPYING.LIB FAQ
-/usr/bin/bc
-/usr/bin/dc
+%{_bindir}/bc
+%{_bindir}/dc
 %{_infodir}/*.info*
 %{_mandir}/man1/*
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to