summaryrefslogtreecommitdiffstats
path: root/php-ast-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-24 15:24:05 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-24 15:24:05 +0100
commit2231abb4cb2d51630660ccc7ce377f21c2870fe9 (patch)
tree42b9a2a8a6807146d962616818baa8da9045b3c1 /php-ast-dev.spec
parent39840fdc436e8200357f38b36000e259e478b82b (diff)
php-ast: cleanup for Fedora review
Diffstat (limited to 'php-ast-dev.spec')
-rw-r--r--php-ast-dev.spec7
1 files changed, 0 insertions, 7 deletions
diff --git a/php-ast-dev.spec b/php-ast-dev.spec
index 276fb5d..462e86b 100644
--- a/php-ast-dev.spec
+++ b/php-ast-dev.spec
@@ -31,7 +31,6 @@ Group: Development/Languages
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-tokenizer
@@ -107,7 +106,6 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
# Install the NTS stuff
make -C NTS install INSTALL_ROOT=%{buildroot}
install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
@@ -150,12 +148,7 @@ REPORT_EXIT_STATUS=1 \
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license NTS/LICENSE
%doc NTS/EXPERIMENTAL