Author: glen                         Date: Wed Jun 22 15:58:17 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed non-root install

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

---- Diffs:

================================================================
Index: SPECS/sudosh.spec
diff -u SPECS/sudosh.spec:1.13 SPECS/sudosh.spec:1.14
--- SPECS/sudosh.spec:1.13      Wed Jun 22 17:39:23 2005
+++ SPECS/sudosh.spec   Wed Jun 22 17:58:12 2005
@@ -8,7 +8,11 @@
 Group:         Applications/Shells
 Source0:       http://dl.sourceforge.net/sudosh/%{name}-%{version}.tar.gz
 # Source0-md5: 7121efdac817e4a27111869f27fabea0
+Patch0:                %{name}-DESTDIR.patch
 URL:           http://sourceforge.net/projects/sudosh/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 Requires(post,preun):  sed >= 4.0
 Requires(post):        grep
 Requires:      sudo
@@ -38,8 +42,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -50,7 +59,7 @@
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-cp src/sudosh.conf $RPM_BUILD_ROOT%{_sysconfdir}
+#cp src/sudosh.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -82,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2005/06/22 15:58:12  glen
+- fixed non-root install
+
 Revision 1.13  2005/06/22 15:39:23  darekr
 - updated to 1.8.2; config file
 
================================================================

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

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

Reply via email to