diff --git a/bc.changes b/bc.changes index ca41b39..70bb17c 100644 --- a/bc.changes +++ b/bc.changes @@ -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 diff --git a/bc.spec b/bc.spec index 0db713c..d19de4e 100644 --- a/bc.spec +++ b/bc.spec @@ -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