From 7f986e4bb202e5cc48fca6f9d5e81458b4d7d197 Mon Sep 17 00:00:00 2001 From: Vascom Date: Wed, 13 Sep 2017 14:05:44 +0300 Subject: [PATCH] Cleanup spec. --- bc.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/bc.spec b/bc.spec index 280a697..60fb1fa 100644 --- a/bc.spec +++ b/bc.spec @@ -1,10 +1,9 @@ Summary: GNU's bc (a numeric processing language) and dc (a calculator) Name: bc Version: 1.07.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: http://www.gnu.org/software/bc/ -Group: Applications/Engineering Source: http://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz Patch1: bc-1.06-dc_ibase.patch Patch2: bc-1.06.95-doc.patch @@ -22,16 +21,14 @@ Install the bc package if you need its number handling capabilities or if you would like to use its text mode calculator. %prep -%setup -q -%patch1 -p1 -b .dc_ibase -%patch2 -p1 -b .doc +%autosetup -p1 %build %configure --with-readline -make +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %post @@ -51,7 +48,6 @@ if [ $1 = 0 -a -e %{_infodir}/bc.info.gz -a -e %{_infodir}/dc.info.gz ]; then fi %files -%defattr(-,root,root,-) %license COPYING COPYING.LIB %doc FAQ AUTHORS NEWS README Examples/ %{_bindir}/dc @@ -60,6 +56,9 @@ fi %{_infodir}/* %changelog +* Wed Sep 13 2017 Vasiliy N. Glazov - 1.07.1-4 +- Cleanup spec + * Wed Aug 02 2017 Fedora Release Engineering - 1.07.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild