Author: qboosh                       Date: Sun Apr  2 12:09:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- put %post before first %files section (after %clean)

---- Files affected:
SPECS:
   pearize.sh (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.35 SPECS/pearize.sh:1.36
--- SPECS/pearize.sh:1.35       Sun Apr  2 13:46:22 2006
+++ SPECS/pearize.sh    Sun Apr  2 14:09:52 2006
@@ -123,7 +123,7 @@
 if [ "$has_opt" -gt 0 ]; then
        if ! grep -q '%{_docdir}/.*/optional-packages.txt' $spec; then
                sed -i -e '
-               /^%clean/{
+               /^%files$/{
                        i%post
                        iif [ -f 
%{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
                        i\      cat 
%{_docdir}/%{name}-%{version}/optional-packages.txt
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pearize.sh?r1=1.35&r2=1.36&f=u

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

Reply via email to