rpms/transifex/F-10 .cvsignore, 1.3, 1.4 sources, 1.6, 1.7 transifex.spec, 1.6, 1.7

Ignacio Vazquez-Abrams ivazquez at fedoraproject.org
Wed Apr 1 13:13:39 UTC 2009


Author: ivazquez

Update of /cvs/pkgs/rpms/transifex/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29287/F-10

Modified Files:
	.cvsignore sources transifex.spec 
Log Message:
- Upstream update
  * Fixed ordering of components untranslated by a Release X Lang
  * Fixed missing parameter for the set_stats_for_lang method call
  * Fixed msgfmt to work large files
- Fixed small bug in %%post
- Fixed PROJECT_PATH in the settings



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/transifex/F-10/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	26 Mar 2009 19:26:15 -0000	1.3
+++ .cvsignore	1 Apr 2009 13:13:09 -0000	1.4
@@ -1 +1 @@
-transifex-0.5.1.tar.gz
+transifex-0.5.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/transifex/F-10/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	30 Mar 2009 11:43:48 -0000	1.6
+++ sources	1 Apr 2009 13:13:09 -0000	1.7
@@ -1 +1 @@
-14332970dcc46e85d692f7f5ed0e7b92  transifex-0.5.1.tar.gz
+34129c1dc28a804e1b863b0bf7a339fa  transifex-0.5.2.tar.gz


Index: transifex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/transifex/F-10/transifex.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- transifex.spec	30 Mar 2009 11:43:48 -0000	1.6
+++ transifex.spec	1 Apr 2009 13:13:09 -0000	1.7
@@ -1,8 +1,8 @@
 %define confdir %{_sysconfdir}/%{name}
 
 Name:       transifex
-Version:    0.5.1
-Release:    2%{?dist}
+Version:    0.5.2
+Release:    1%{?dist}
 Summary:    A system for distributed translation submissions
 
 Group:      Applications/Internet
@@ -19,7 +19,7 @@
 Requires:   django-notification django-pagination django-tagging
 Requires:   python-markdown python-pygments
 Requires:   mercurial
-Requires:   intltool >= 0.40.5
+Requires:   intltool >= 0.37.1
 
 %description
 Transifex is a web-system that facilitates the process of submitting
@@ -69,7 +69,8 @@
 
 install -d -m 0755 $RPM_BUILD_ROOT/%{confdir}
 
-sed -n -e '/ADDITIONAL VCS OPTIONS/q;p' \
+sed -n -e 's!^\(PROJECT_PATH = \).*$!\1"%{_datadir}/%{name}"!;
+    /ADDITIONAL VCS OPTIONS/q;p' \
     $RPM_BUILD_ROOT%{_datadir}/%{name}/settings.py > \
     $RPM_BUILD_ROOT%{confdir}/00-default.conf
 
@@ -87,11 +88,12 @@
 
 %post
 # Check to see if the secret key for Django needs setting, and then set it
-if grep -q '[[SECRETKEY]]' %{confdir}/00-default.conf
+if grep -q '\[\[SECRETKEY\]\]' %{confdir}/00-default.conf
 then
     key=$(python << EOF
 import random
-print ''.join(chr(random.randint(35, 126)) for x in xrange(40))
+print ''.join(chr(random.randint(35, 126)) for x in xrange(40)).replace('&',
+    '\&')
 EOF
 )
     sed -i -e "s!\[\[SECRETKEY\]\]!$key!" \
@@ -171,6 +173,14 @@
 %dir %{_localstatedir}/lib/%{name}/scratchdir/sources/git
 
 %changelog
+* Wed Apr 01 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.5.2-1
+- Upstream update
+  * Fixed ordering of components untranslated by a Release X Lang
+  * Fixed missing parameter for the set_stats_for_lang method call
+  * Fixed msgfmt to work large files
+- Fixed small bug in %%post
+- Fixed PROJECT_PATH in the settings
+
 * Mon Mar 30 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.5.1-2
 - Build with proper tarball
 




More information about the scm-commits mailing list