SPECS (AC-branch): qt4.spec - use %banner, ldconfig dep

glen glen at pld-linux.org
Sat Mar 3 12:33:09 CET 2007


Author: glen                         Date: Sat Mar  3 11:33:09 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- use %banner, ldconfig dep

---- Files affected:
SPECS:
   qt4.spec (1.71.2.14 -> 1.71.2.15) 

---- Diffs:

================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.71.2.14 SPECS/qt4.spec:1.71.2.15
--- SPECS/qt4.spec:1.71.2.14	Sat Mar  3 12:24:12 2007
+++ SPECS/qt4.spec	Sat Mar  3 12:33:04 2007
@@ -131,6 +131,7 @@
 Summary:	Core classes used by other modules
 Summary(pl):	Podstawowe klasy używane przez inne moduły
 Group:		X11/Libraries
+Requires(post):	/sbin/ldconfig
 
 %description -n QtCore
 Core classes used by other modules.
@@ -1156,7 +1157,7 @@
 	elif [ -f "$r" ]; then
 		echo "$2" >> $1.files
 	else
-		echo "Error generation devel files list!"
+		echo "Error generation $1 files list!"
 		echo "$r: no such file or direcotry!"
 		return 1
 	fi
@@ -1172,8 +1173,7 @@
 	if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
 		ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
 	fi
-	for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
-	do
+	for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "` do
 		ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
 		ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
 	done
@@ -1216,7 +1216,7 @@
 
 %post	-n QtCore
 /sbin/ldconfig
-cat << EOF
+%banner -e %{name} <<-EOF
  *******************************************************
  *                                                     *
  *  NOTE:                                              *
@@ -1535,6 +1535,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71.2.15  2007/03/03 11:33:04  glen
+- use %banner, ldconfig dep
+
 Revision 1.71.2.14  2007/03/03 11:24:12  glen
 - adapter was here
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qt4.spec?r1=1.71.2.14&r2=1.71.2.15&f=u



More information about the pld-cvs-commit mailing list