rpms/squid/devel squid.spec,1.136,1.137 squid.spec-3.1,1.8,1.9

Henrik Nordström hno at fedoraproject.org
Fri Sep 4 02:57:32 UTC 2009


Author: hno

Update of /cvs/pkgs/rpms/squid/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10351

Modified Files:
	squid.spec squid.spec-3.1 
Log Message:
Move 3.1 change to the right spec file


Index: squid.spec
===================================================================
RCS file: /cvs/pkgs/rpms/squid/devel/squid.spec,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -p -r1.136 -r1.137
--- squid.spec	4 Sep 2009 02:37:44 -0000	1.136
+++ squid.spec	4 Sep 2009 02:57:32 -0000	1.137
@@ -234,6 +234,95 @@ exit 0
 
 %post
 /sbin/chkconfig --add squid
+if [ $1 = 0 ]; then
+ case "$LANG" in
+  bg*)
+     DIR=Bulgarian
+     ;;
+  ca*)
+     DIR=Catalan
+     ;;
+  cs*)
+     DIR=Czech
+     ;;
+  da*)
+     DIR=Danish
+     ;;
+  nl*)
+     DIR=Dutch
+     ;;
+  en*)
+     DIR=English
+     ;;
+  ea*)
+     DIR=Estonian
+     ;;
+  fi*)
+     DIR=Finnish
+     ;;
+  fr*)
+     DIR=French
+     ;;
+  de*)
+     DIR=German
+     ;;
+  he*)
+     DIR=Hebrew
+     ;;
+  hu*)
+     DIR=Hungarian
+     ;;
+  it*)
+     DIR=Italian
+     ;;
+  ja*)
+     DIR=Japanese
+     ;;
+  kr*)
+     DIR=Korean
+     ;;
+  pl*)
+     DIR=Polish
+     ;;
+  pt*)
+     DIR=Portuguese
+     ;;
+  ro*)
+     DIR=Romanian
+     ;;
+  ru*)
+     DIR=Russian-koi8-r
+     ;;
+  sr*)
+     DIR=Serbian
+     ;;
+  sk*)
+     DIR=Slovak
+     ;;
+  es*)
+     DIR=Spanish
+     ;;
+  sv*)
+     DIR=Swedish
+     ;;
+  zh_TW*)
+     DIR=Traditional_Chinese
+     ;;
+  zh_CN*)
+     DIR=Simplify_Chinese
+     ;;
+  tr*)
+     DIR=Turkish
+     ;;
+  greek)
+     DIR=Greek
+     ;;
+  *)
+     DIR=English
+     ;;
+ esac
+ ln -snf %{_datadir}/squid/errors/$DIR /etc/squid/errors
+fi
 
 %preun
 if [ $1 = 0 ] ; then


Index: squid.spec-3.1
===================================================================
RCS file: /cvs/pkgs/rpms/squid/devel/squid.spec-3.1,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- squid.spec-3.1	4 Sep 2009 02:47:39 -0000	1.8
+++ squid.spec-3.1	4 Sep 2009 02:57:32 -0000	1.9
@@ -228,95 +228,6 @@ exit 0
 
 %post
 /sbin/chkconfig --add squid
-if [ $1 = 0 ]; then
- case "$LANG" in
-  bg*)
-     DIR=Bulgarian
-     ;;
-  ca*)
-     DIR=Catalan
-     ;;
-  cs*)
-     DIR=Czech
-     ;;
-  da*)
-     DIR=Danish
-     ;;
-  nl*)
-     DIR=Dutch
-     ;;
-  en*)
-     DIR=English
-     ;;
-  ea*)
-     DIR=Estonian
-     ;;
-  fi*)
-     DIR=Finnish
-     ;;
-  fr*)
-     DIR=French
-     ;;
-  de*)
-     DIR=German
-     ;;
-  he*)
-     DIR=Hebrew
-     ;;
-  hu*)
-     DIR=Hungarian
-     ;;
-  it*)
-     DIR=Italian
-     ;;
-  ja*)
-     DIR=Japanese
-     ;;
-  kr*)
-     DIR=Korean
-     ;;
-  pl*)
-     DIR=Polish
-     ;;
-  pt*)
-     DIR=Portuguese
-     ;;
-  ro*)
-     DIR=Romanian
-     ;;
-  ru*)
-     DIR=Russian-koi8-r
-     ;;
-  sr*)
-     DIR=Serbian
-     ;;
-  sk*)
-     DIR=Slovak
-     ;;
-  es*)
-     DIR=Spanish
-     ;;
-  sv*)
-     DIR=Swedish
-     ;;
-  zh_TW*)
-     DIR=Traditional_Chinese
-     ;;
-  zh_CN*)
-     DIR=Simplify_Chinese
-     ;;
-  tr*)
-     DIR=Turkish
-     ;;
-  greek)
-     DIR=Greek
-     ;;
-  *)
-     DIR=English
-     ;;
- esac
- ln -snf %{_datadir}/squid/errors/$DIR /etc/squid/errors
-fi
 
 %preun
 if [ $1 = 0 ] ; then




More information about the fedora-extras-commits mailing list