SPECS: ipsorc.spec - kill _xbindir def (use _bindir for all subpac...

darekr darekr at pld-linux.org
Sat Jul 8 01:00:36 CEST 2006


Author: darekr                       Date: Fri Jul  7 23:00:36 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- kill _xbindir def (use _bindir for all subpackages)
- fix %files - separate tools to proper packages

---- Files affected:
SPECS:
   ipsorc.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/ipsorc.spec
diff -u SPECS/ipsorc.spec:1.13 SPECS/ipsorc.spec:1.14
--- SPECS/ipsorc.spec:1.13	Thu Mar  9 15:35:10 2006
+++ SPECS/ipsorc.spec	Sat Jul  8 01:00:31 2006
@@ -13,8 +13,6 @@
 BuildRequires:	gtk+-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_xbindir	/usr/X11R6/bin
-
 %description
 IP Sorcery is a TCP/IP packet generator. It has the ability to send
 TCP, UDP, and ICMP packets.
@@ -47,10 +45,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir}}
+install -d $RPM_BUILD_ROOT%{_bindir}
 
 install ipmagic $RPM_BUILD_ROOT%{_bindir}
-install magic $RPM_BUILD_ROOT%{_xbindir}/gipmagic
+install magic $RPM_BUILD_ROOT%{_bindir}/gipmagic
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,12 +56,12 @@
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/ipmagic
 
 %files gtk
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_xbindir}/*
+%attr(755,root,root) %{_bindir}/gipmagic
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +69,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2006/07/07 23:00:31  darekr
+- kill _xbindir def (use _bindir for all subpackages)
+- fix %files - separate tools to proper packages
+
 Revision 1.13  2006/03/09 14:35:10  glen
 - quote %{__cc}
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ipsorc.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list