summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-Reflect-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-01-20 10:10:54 +0100
committerRemi Collet <fedora@famillecollet.com>2015-01-20 10:10:54 +0100
commitac2d615b6b59328ad9e5f396201469428844f5f5 (patch)
tree2ab584fefdc4ba9ddb654634bfe0d2e5db26f75f /php-bartlett-PHP-Reflect-dev.spec
parent9e363c6e1fa6e0eb430185d5fc28607ea4102d06 (diff)
php-bartlett-PHP-Reflect: fix composer only code
Diffstat (limited to 'php-bartlett-PHP-Reflect-dev.spec')
-rw-r--r--php-bartlett-PHP-Reflect-dev.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-bartlett-PHP-Reflect-dev.spec b/php-bartlett-PHP-Reflect-dev.spec
index 5c50e92..7c564e5 100644
--- a/php-bartlett-PHP-Reflect-dev.spec
+++ b/php-bartlett-PHP-Reflect-dev.spec
@@ -14,7 +14,7 @@
Name: php-bartlett-PHP-Reflect
Version: 3.0.0
-%global specrel 3
+%global specrel 4
Release: %{?gh_short:0.%{specrel}.%{?gh_date}git%{gh_short}}%{!?gh_short:%{specrel}}%{?dist}
Summary: Adds the ability to reverse-engineer PHP
@@ -27,6 +27,8 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
# Enable cache plugin
Patch0: %{name}-3.0.0-rpm.patch
+Patch1: %{name}-3.0.0-pr17.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php(language) >= 5.3
@@ -118,6 +120,7 @@ Documentation: http://php5.laurent-laville.org/reflect/manual/current/en/
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p1 -b .rpm
+%patch1 -p1
sed -e 's/@package_version@/%{version}/' \
-i $(find src -name \*.php)
@@ -165,6 +168,9 @@ fi
%changelog
+* Tue Jan 20 2015 Remi Collet <remi@fedoraproject.org> - 3.0.0-0.4.20150118git398cdae
+- fix composer only code (pr #17)
+
* Mon Jan 19 2015 Remi Collet <remi@fedoraproject.org> - 3.0.0-0.3.20150118git398cdae
- new 3.0 snapshot