summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-29 16:54:42 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-29 16:54:42 +0100
commit7fc6c7ce9be9c3c7ca1263c3a13654c8ef4063b2 (patch)
treed004065bb68bbcddb0f9f0928398744b0d01ad28
parentcf0bf177809df55674f21b469678644eeddec3ac (diff)
php-symfony2-Yaml-2.1.4 (no change)
-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