rpms/bc/devel bc.spec,1.24,1.25

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Feb 23 11:02:24 UTC 2007


Author: karsten

Update of /cvs/dist/rpms/bc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26845

Modified Files:
	bc.spec 
Log Message:
- fix buildroot
- remove trailing dot from summary
- fix post/preun requirements
- use make install DESTDIR=...
- convert changelog to utf-8
- use smp flags




Index: bc.spec
===================================================================
RCS file: /cvs/dist/rpms/bc/devel/bc.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- bc.spec	23 Jan 2007 09:57:48 -0000	1.24
+++ bc.spec	23 Feb 2007 11:02:21 -0000	1.25
@@ -1,7 +1,7 @@
-Summary: GNU's bc (a numeric processing language) and dc (a calculator).
+Summary: GNU's bc (a numeric processing language) and dc (a calculator)
 Name: bc
 Version: 1.06
-Release: 23
+Release: 24
 License: GPL
 URL: http://www.gnu.org/software/bc/
 Group: Applications/Engineering
@@ -9,8 +9,9 @@
 Patch1: bc-1.06-readline42.patch
 Patch2: bc-1.06-s390.patch
 Patch3: bc-1.06-info_exp_bessel.patch
-Prereq: /sbin/install-info grep
-Buildroot: %{_tmppath}/%{name}-%{version}-root
+Requires(post): /sbin/install-info grep mktemp
+Requires(preun): /sbin/install-info
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: readline-devel, flex, automake
 
 %description
@@ -31,15 +32,13 @@
 %build
 autoconf
 %configure --with-readline
-make 
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%makeinstall
+make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
-gzip -n -9f $RPM_BUILD_ROOT/%{_infodir}/*
-
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -62,7 +61,7 @@
 exit 0
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc COPYING COPYING.LIB FAQ AUTHORS NEWS README
 /usr/bin/dc
 /usr/bin/bc
@@ -70,6 +69,14 @@
 %{_infodir}/*
 
 %changelog
+* Fri Feb 23 2007 Karsten Hopp <karsten at redhat.com> 1.06-24
+- fix buildroot
+- remove trailing dot from summary
+- fix post/preun requirements
+- use make install DESTDIR=...
+- convert changelog to utf-8
+- use smp flags
+
 * Tue Jan 23 2007 Florian La Roche <laroche at redhat.com>
 - scripts should never fail: rhbz#223677
 
@@ -128,10 +135,10 @@
 * Thu May 23 2002 Tim Powers <timp at redhat.com>
 - automated rebuild
 
-* Tue Feb 26 2002 Trond Eivind Glomsrød <teg at redhat.com> 1.06-8
+* Tue Feb 26 2002 Trond Eivind Glomsrød <teg at redhat.com> 1.06-8
 - Rebuild
 
-* Mon Feb  4 2002 Trond Eivind Glomsrød <teg at redhat.com> 1.06-7
+* Mon Feb  4 2002 Trond Eivind Glomsrød <teg at redhat.com> 1.06-7
 - s/Copyright/License/
 - The %%doc file AUTHOR should be AUTHORS
 
@@ -148,27 +155,27 @@
 - rebuild with new readline
 - Add patch to fix compilation with recent readline versions
 
-* Fri Dec 01 2000 Trond Eivind Glomsrød <teg at redhat.com>
+* Fri Dec 01 2000 Trond Eivind Glomsrød <teg at redhat.com>
 - Add COPYING, COPYING.LIB, FAQ, AUTHORS, NEWS, README
 
 * Sun Nov 19 2000 Florian La Roche <Florian.LaRoche at redhat.de>
 - update to bc 1.06
 
-* Fri Jul 21 2000 Trond Eivind Glomsrød <teg at redhat.com>
+* Fri Jul 21 2000 Trond Eivind Glomsrød <teg at redhat.com>
 - rebuild
 
 * Wed Jul 12 2000 Prospector <bugzilla at redhat.com>
 - automatic rebuild
 
-* Tue Jun 06 2000 Trond Eivind Glomsrød <teg at redhat.com>
+* Tue Jun 06 2000 Trond Eivind Glomsrød <teg at redhat.com>
 - use %%makeinstall, %%configure, %%{_mandir}, %%{_infodir}
   and %%{_tmppath}  
 
-* Wed May 10 2000 Trond Eivind Glomsrød <teg at redhat.com>
+* Wed May 10 2000 Trond Eivind Glomsrød <teg at redhat.com>
 - added URL
 - let build system handle man page gzipping
 
-* Thu Apr 06 2000 Trond Eivind Glomsrød <teg at redhat.com>
+* Thu Apr 06 2000 Trond Eivind Glomsrød <teg at redhat.com>
 - fixed bug 7145 (long commands -> coredump) 
 - removed explicit stripping, it does this by itself anyway
 - gzipped man-pages




More information about the fedora-cvs-commits mailing list