summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-symfony2-Yaml.spec21
1 files changed, 16 insertions, 5 deletions
diff --git a/php-symfony2-Yaml.spec b/php-symfony2-Yaml.spec
index ae6f8d0..dc81682 100644
--- a/php-symfony2-Yaml.spec
+++ b/php-symfony2-Yaml.spec
@@ -1,12 +1,11 @@
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%global pear_channel pear.symfony.com
%global pear_name %(echo %{name} | sed -e 's/^php-symfony2-//' -e 's/-/_/g')
%global php_min_ver 5.3.3
Name: php-symfony2-Yaml
-Version: 2.1.3
+Version: 2.1.4
Release: 1%{?dist}
Summary: Symfony2 %{pear_name} Component
@@ -71,10 +70,14 @@ cd %{pear_name}-%{version}
cd ..
# Modify PEAR package.xml file:
+# - Remove .gitattributes file
+# - Remove .gitignore file
# - Change role from "php" to "doc" for CHANGELOG.md file
# - Change role from "php" to "test" for all test files
# - Remove md5sum from bootsrap.php file since it was patched
-sed -e '/CHANGELOG.md/s/role="php"/role="doc"/' \
+sed -e '/\.gitattributes/d' \
+ -e '/\.gitignore/d' \
+ -e '/CHANGELOG.md/s/role="php"/role="doc"/' \
-e '/phpunit.xml.dist/s/role="php"/role="test"/' \
-e '/Tests/s/role="php"/role="test"/' \
-e '/bootstrap.php/s/md5sum="[^"]*"\s*//' \
@@ -112,8 +115,7 @@ cd %{pear_name}-%{version}/Symfony/Component/%{pear_name}
%postun
if [ $1 -eq 0 ] ; then
- %{__pear} uninstalBuildRequires: php(language) >= %{php_min_ver}
-l --nodeps --ignore-errors --register-only \
+ %{__pear} uninstall --nodeps --ignore-errors --register-only \
%{pear_channel}/%{pear_name} >/dev/null || :
fi
@@ -129,6 +131,15 @@ fi
%changelog
+* Thu Nov 29 2012 Remi Collet <RPMS@FamilleCollet.com> 2.1.4-1
+- update to 2.1.4 (no change)
+
+* Tue Nov 13 2012 Shawn Iwinski <shawn.iwinski@gmail.com> 2.1.3-2
+- Removed .gitattributes and .gitignore files from package.xml
+
+* Sun Nov 11 2012 Shawn Iwinski <shawn.iwinski@gmail.com> 2.1.3-1
+- Updated to upstream version 2.1.3
+
* Tue Oct 30 2012 Remi Collet <RPMS@FamilleCollet.com> 2.1.3-1
- sync with rawhide, update to 2.1.3