rpms/gdb/devel gdb.spec,1.314,1.315

Štěpán Kasal kasal at fedoraproject.org
Mon Dec 1 16:26:17 UTC 2008


Author: kasal

Update of /cvs/extras/rpms/gdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23860

Modified Files:
	gdb.spec 
Log Message:
cosmetic changes


Index: gdb.spec
===================================================================
RCS file: /cvs/extras/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.314
retrieving revision 1.315
diff -u -r1.314 -r1.315
--- gdb.spec	18 Nov 2008 20:01:02 -0000	1.314
+++ gdb.spec	1 Dec 2008 16:25:47 -0000	1.315
@@ -13,7 +13,7 @@
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 31%{?_with_upstream:.upstream}%{?dist}
+Release: 32%{?_with_upstream:.upstream}%{?dist}
 
 License: GPLv3+
 Group: Development/Debuggers
@@ -428,7 +428,7 @@
 # Enable ia64 hardware watchpoints if created before starting inferior.
 Patch349: gdb-6.8-ia64-exec-hw-watchpoint.patch
 
-BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu gettext
+BuildRequires: ncurses-devel texinfo dejagnu gettext
 BuildRequires: flex bison sharutils expat-devel
 Requires: readline
 BuildRequires: readline-devel
@@ -814,8 +814,8 @@
 make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
 
 # install the gcore script in /usr/bin
-cp $RPM_BUILD_DIR/%{gdb_src}/gdb/gdb_gcore.sh $RPM_BUILD_ROOT%{_prefix}/bin/gcore
-chmod 755 $RPM_BUILD_ROOT%{_prefix}/bin/gcore
+cp $RPM_BUILD_DIR/%{gdb_src}/gdb/gdb_gcore.sh $RPM_BUILD_ROOT%{_bindir}/gcore
+chmod 755 $RPM_BUILD_ROOT%{_bindir}/gcore
 
 # Remove the gdb/gdbtui binaries duplicity.
 test -x $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
@@ -827,12 +827,12 @@
 # provided by other packages.
 # These are part of binutils
 
-rm -rf $RPM_BUILD_ROOT/usr/share/locale/
-rm -f $RPM_BUILD_ROOT%{_infodir}/bfd* 
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/
+rm -f $RPM_BUILD_ROOT%{_infodir}/bfd*
 rm -f $RPM_BUILD_ROOT%{_infodir}/standard*
 rm -f $RPM_BUILD_ROOT%{_infodir}/mmalloc*
 rm -f $RPM_BUILD_ROOT%{_infodir}/configure*
-rm -rf $RPM_BUILD_ROOT/usr/include/  
+rm -rf $RPM_BUILD_ROOT%{_includedir}
 rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*,mmalloc*}
 
 # Delete this too because the dir file will be updated at rpm install time.
@@ -896,6 +896,9 @@
 %endif
 
 %changelog
+* Mon Dec  1 2008 Stepan Kasal <skasal at redhat.com> - 6.8-32
+- Remove trivial BuildRequires, use rpm macros in a few remaining places.
+
 * Tue Nov 18 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-31
 - Enable ia64 hardware watchpoints if created before starting inferior.
 




More information about the fedora-extras-commits mailing list