Author: glen                         Date: Tue Nov  6 15:10:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added adapter frontend script
- updated builder to 0.20
- rel 10

---- Files affected:
SPECS:
   rpm-build-tools.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/rpm-build-tools.spec
diff -u SPECS/rpm-build-tools.spec:1.2 SPECS/rpm-build-tools.spec:1.3
--- SPECS/rpm-build-tools.spec:1.2      Wed Sep 26 11:50:51 2007
+++ SPECS/rpm-build-tools.spec  Tue Nov  6 16:10:45 2007
@@ -9,17 +9,20 @@
 Requires:      rpm-build
 Name:          rpm-build-tools
 Version:       4.4.9
-Release:       9
+Release:       10
 License:       GPL
 Group:         Base
-Source30:      builder
-Source31:      adapter.awk
-Source32:      pldnotify.awk
+Source0:       builder
+Source1:       adapter.awk
+Source2:       adapter
+Source3:       pldnotify.awk
 Requires:      wget
 Suggests:      cvs
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _libdir %{_prefix}/lib
+
 %description
 Scripts for managing .spec files and building RPM packages.
 
@@ -43,13 +46,15 @@
 
 %prep
 %setup -qcT
+sed -e 's,^adapter=.*/adapter.awk,adapter=%{_libdir}/adapter.awk,' %{SOURCE2} 
> adapter
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install %{SOURCE30} $RPM_BUILD_ROOT%{_bindir}/builder
-install %{SOURCE31} $RPM_BUILD_ROOT%{_bindir}/adapter.awk
-install %{SOURCE32} $RPM_BUILD_ROOT%{_bindir}/pldnotify.awk
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
+install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/builder
+install adapter $RPM_BUILD_ROOT%{_bindir}/adapter
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/adapter.awk
+install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/pldnotify.awk
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -57,8 +62,9 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/builder
-%attr(755,root,root) %{_bindir}/adapter.awk
+%attr(755,root,root) %{_bindir}/adapter
 %attr(755,root,root) %{_bindir}/pldnotify.awk
+%{_libdir}/adapter.awk
 
 %define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -66,10 +72,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/11/06 15:10:45  glen
+- added adapter frontend script
+- updated builder to 0.20
+- rel 10
+
 Revision 1.2  2007/09/26 09:50:51  patrys
 - rel up
 
 Revision 1.1  2007/08/30 10:59:02  glen
 - separated from rpm.spec
 - updated builder script to 0.19
-
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm-build-tools.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to