Author: glen                         Date: Sat Oct 15 11:25:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use _exec_prefix macro

---- Files affected:
SPECS:
   initng.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/initng.spec
diff -u SPECS/initng.spec:1.30 SPECS/initng.spec:1.31
--- SPECS/initng.spec:1.30      Sat Oct 15 12:48:30 2005
+++ SPECS/initng.spec   Sat Oct 15 13:25:13 2005
@@ -3,27 +3,22 @@
 Summary(pl):   Zamiennik inita następnej generacji
 Name:          initng
 Version:       0.3.3
-Release:       0.1
+Release:       0.2
 License:       GPL v2
 Group:         Base
 Source0:       
http://initng.thinktux.net/download/v0.3/%{name}-%{version}.tar.bz2
 # Source0-md5: f532ff517216a43d994a07d658b68ed0
 Patch0:                %{name}-lib64.patch
-#Patch2:               %{name}-utmpx.patch
+#Patch2:       %{name}-utmpx.patch
 URL:           http://jw.dyndns.org/initng/
 BuildRequires: sed >= 4.0
 BuildRequires: /etc/pld-release
 Requires:      bash
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix                 /
+%define                _exec_prefix    /
 %define                _sysconfdir             /etc/%{name}
 %define                _libdir                 /%{_lib}/%{name}
-%define                _sbindir                /sbin
-# for broken initng ac files prefix needs to be / and these redefined
-%define                _datadir                /usr/share
-%define                _docdir                 %{_datadir}/doc
-%define                _mandir                 %{_datadir}/man
 
 %description
 Initng is a full replacement of the old and in many ways deprecated
@@ -136,7 +131,7 @@
 %attr(755,root,root) %{_sbindir}/ngc
 %attr(755,root,root) %{_sbindir}/ngdc
 %attr(755,root,root) %{_sbindir}/system_off
-%attr(755,root,root) %{_sbindir}/ngcupdown
+%attr(755,root,root) %{_prefix}%{_sbindir}/ngcupdown
 %{_mandir}/man8/initng.8*
 %{_mandir}/man8/ngc.8*
 %{_mandir}/man8/ng-update.8*
@@ -149,8 +144,8 @@
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) /etc/pcmcia/network
 %config(noreplace) %verify(not md5 mtime size) /etc/hotplug/net.agent
-%attr(755,root,root) %{_sbindir}/ifplugd.action
-%attr(755,root,root) %{_sbindir}/wpa_cli.action
+%attr(755,root,root) %{_prefix}%{_sbindir}/ifplugd.action
+%attr(755,root,root) %{_prefix}%{_sbindir}/wpa_cli.action
 /etc/ifplugd/action.d/ngcupdown
 
 %files initscripts
@@ -188,6 +183,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2005/10/15 11:25:13  glen
+- use _exec_prefix macro
+
 Revision 1.30  2005/10/15 10:48:30  glen
 - 0.3.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/initng.spec?r1=1.30&r2=1.31&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to