diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-05-12 20:23:52 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-05-12 20:23:52 +0200 |
commit | 64e0438bbd051354510cc63991c693085659c5b3 (patch) | |
tree | 46ede5d362ee24ddc58f2355f2da72e570d35a04 /php-bartlett-PHP-Reflect.spec | |
parent | dc106d631aad5402251fd1242d1d50d1eb332143 (diff) |
php-bartlett-PHP-Reflect: improve provided config
Diffstat (limited to 'php-bartlett-PHP-Reflect.spec')
-rw-r--r-- | php-bartlett-PHP-Reflect.spec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/php-bartlett-PHP-Reflect.spec b/php-bartlett-PHP-Reflect.spec index 3d2141c..03cf22d 100644 --- a/php-bartlett-PHP-Reflect.spec +++ b/php-bartlett-PHP-Reflect.spec @@ -22,7 +22,7 @@ URL: http://php5.laurent-laville.org/reflect/ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz # Autoloader for RPM - die composer ! -Patch0: php-bartlett-PHP-Reflect-rpm.patch +Patch0: %{name}-rpm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -83,6 +83,7 @@ cp -pr src/Bartlett %{buildroot}%{_datadir}/php/Bartlett install -D -p -m 755 bin/reflect %{buildroot}%{_bindir}/phpreflect install -D -p -m 644 bin/reflect.json %{buildroot}%{_sysconfdir}/phpreflect.json + %check # Version 2.0.0 : OK (128 tests, 128 assertions) %{_bindir}/phpunit \ @@ -102,7 +103,7 @@ fi %files %defattr(-,root,root,-) -%doc LICENSE +%doc LICENSE composer.json README.* %config(noreplace) %{_sysconfdir}/phpreflect.json %{_bindir}/phpreflect %{_datadir}/php/Bartlett |