Accepting request 291074 from home:pluskalm:branches:Base:System

- Update url
- Correct info files scriplets and dependencies

OBS-URL: https://build.opensuse.org/request/show/291074
OBS-URL: https://build.opensuse.org/package/show/Base:System/bc?expand=0&rev=12
This commit is contained in:
Petr Gajdos 2015-03-17 06:30:03 +00:00 committed by Git OBS Bridge
parent b96bb68bff
commit abcdcf9319
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 16 18:42:48 UTC 2015 - mpluskal@suse.com
- Update url
- Correct info files scriplets and dependencies
-------------------------------------------------------------------
Fri Nov 28 20:48:58 UTC 2014 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bc
#
# 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
@ -22,8 +22,8 @@ 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
Url: http://www.gnu.org/software/bc/
Source0: 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
@ -35,6 +35,7 @@ BuildRequires: makeinfo
BuildRequires: ncurses-devel
BuildRequires: readline-devel
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -75,7 +76,7 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%install_info --info-dir=%{_infodir} %{_infodir}/bc.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/dc.info.gz
%postun
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bc.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/dc.info.gz