[php-symfony2-Locale] Updated to upstream version 2.0.16

Shawn Iwinski siwinski at fedoraproject.org
Sun Jul 15 05:54:45 UTC 2012


commit 8e5f73a117f473138556f70bbfef1e6bb6540079
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Sun Jul 15 01:54:31 2012 -0400

    Updated to upstream version 2.0.16

 .gitignore               |    2 ++
 php-symfony2-Locale.spec |   34 +++++++++++++++++++++-------------
 sources                  |    1 +
 3 files changed, 24 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3fb0f59..c7bb70f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
+*~
 /Locale-2.0.15.tgz
+/Locale-2.0.16.tgz
diff --git a/php-symfony2-Locale.spec b/php-symfony2-Locale.spec
index 6da7315..92487b9 100644
--- a/php-symfony2-Locale.spec
+++ b/php-symfony2-Locale.spec
@@ -1,10 +1,11 @@
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+
 %global pear_channel pear.symfony.com
-%global pear_name %(echo %{name} | sed -e 's/^php-symfony2-//' -e 's/-/_/g')
+%global pear_name    %(echo %{name} | sed -e 's/^php-symfony2-//' -e 's/-/_/g')
 
 Name:             php-symfony2-Locale
-Version:          2.0.15
-Release:          3%{?dist}
+Version:          2.0.16
+Release:          1%{?dist}
 Summary:          Symfony2 %{pear_name} Component
 
 Group:            Development/Libraries
@@ -17,14 +18,15 @@ BuildRequires:    php-pear(PEAR)
 BuildRequires:    php-channel(%{pear_channel})
 
 Requires:         php-common >= 5.3.2
-Requires:         php-ctype
-Requires:         php-date
-Requires:         php-intl
-Requires:         php-pcre
 Requires:         php-pear(PEAR)
 Requires:         php-channel(%{pear_channel})
 Requires(post):   %{__pear}
 Requires(postun): %{__pear}
+# phpci requires
+Requires:         php-ctype
+Requires:         php-date
+Requires:         php-intl
+Requires:         php-pcre
 
 Provides:         php-pear(%{pear_channel}/%{pear_name}) = %{version}
 
@@ -51,17 +53,17 @@ Stub implementation only supports the en locale.
 # package.xml is version 2.0
 mv package.xml %{pear_name}-%{version}/%{name}.xml
 
-# Fix package.xml for *.res files incorrectly being identified with role="doc"
-# instead of role="php" (the *.res files are being referenced in code and are
-# expected to be in the install directory instead of the doc directory)
-# *** NOTE: This needs to be fixed upstream
+# Fix package.xml for "Symfony/Component/Locale/Resources/data/UPDATE.txt" file
+# incorrectly being identified with role="php" instead of role="doc"
+# *** NOTE: This needs to be fixed upstream (was fine in 2.0.15, but changed
+#           in 2.0.16)
 sed -i \
-    's#<file *md5sum="\([^"]\{1,\}\)" *name="\([^"]\{1,\}.res\)" *role="doc" */>#<file md5sum="\1" name="\2" role="php" />#' \
+    's#<file *md5sum="\([^"]*\)" *name="\(Symfony/Component/Locale/Resources/data/UPDATE.txt\)" *role="php" */>#<file md5sum="\1" name="\2" role="doc" />#' \
     %{pear_name}-%{version}/%{name}.xml
 
 
 %build
-# Empty build section, nothing required.
+# Empty build section, nothing required
 
 
 %install
@@ -118,6 +120,12 @@ fi
 
 
 %changelog
+* Sun Jul 15 2012 Shawn Iwinski <shawn.iwinski at gmail.com> 2.0.16-1
+- Updated to upstream version 2.0.16
+- Removed package.xml fix for *.res files (fixed upstream)
+- Added package.xml fix for an UPDATE.txt file
+- Minor syntax updates
+
 * Sun Jun 23 2012 Shawn Iwinski <shawn.iwinski at gmail.com> 2.0.15-3
 - Added %%lang directive flags for *.res files
 - Modified %%files because of separate *.res file listings
diff --git a/sources b/sources
index 6956970..7d20808 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 7e5b67ff42f65deef3135e7d266c6c52  Locale-2.0.15.tgz
+52ad24da208a81567aea7c537d52e062  Locale-2.0.16.tgz


More information about the scm-commits mailing list