SPECS: make.spec - added /etc/env.d/MAKE

gotar gotar at pld-linux.org
Sat Sep 6 22:51:27 CEST 2008


Author: gotar                        Date: Sat Sep  6 20:51:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added /etc/env.d/MAKE

---- Files affected:
SPECS:
   make.spec (1.77 -> 1.78) 

---- Diffs:

================================================================
Index: SPECS/make.spec
diff -u SPECS/make.spec:1.77 SPECS/make.spec:1.78
--- SPECS/make.spec:1.77	Tue Apr  8 10:24:53 2008
+++ SPECS/make.spec	Sat Sep  6 22:51:21 2008
@@ -107,7 +107,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -d $RPM_BUILD_ROOT{/etc/env.d,%{_mandir}/man1}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -116,22 +116,26 @@
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
+echo '#MAKE="/usr/bin/make -j2"' > $RPM_BUILD_ROOT/etc/env.d/MAKE
+
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p	/sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
-%postun	-p	/sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
+%post
+/usr/sbin/fix-info-dir -c %{_infodir}
+%env_update
+
+%postun
+/usr/sbin/fix-info-dir -c %{_infodir}
+%env_update
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc NEWS README
 %attr(755,root,root) %{_bindir}/*
-
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/MAKE
 %{_mandir}/man1/*
 %lang(da) %{_mandir}/da/man1/*
 %lang(es) %{_mandir}/es/man1/*
@@ -146,6 +150,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78  2008/09/06 20:51:21  gotar
+- added /etc/env.d/MAKE
+
 Revision 1.77  2008/04/08 08:24:53  glen
 - unify ftp.gnu.org urls
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/make.spec?r1=1.77&r2=1.78&f=u



More information about the pld-cvs-commit mailing list