Cleanup spec.
This commit is contained in:
parent
29d2280b6d
commit
7f986e4bb2
15
bc.spec
15
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 <vascom2@gmail.com> - 1.07.1-4
|
||||
- Cleanup spec
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.07.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user