From b047a2d827e7cb6207636b83212d78609a5dc4cf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Jun 2015 08:50:04 +0200 Subject: php-stack-builder: add backport stuff for remirepo --- php-stack-builder.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'php-stack-builder.spec') diff --git a/php-stack-builder.spec b/php-stack-builder.spec index 064b8d9..92a6e7e 100644 --- a/php-stack-builder.spec +++ b/php-stack-builder.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-stack-builder, from Fedora: # # RPM spec file for php-stack-builder # @@ -42,6 +43,7 @@ URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # For autoload generation BuildRequires: %{_bindir}/phpab # For tests @@ -101,6 +103,8 @@ AUTOLOAD %install +rm -rf %{buildroot} + mkdir -p %{buildroot}%{phpdir} cp -rp src/* %{buildroot}%{phpdir}/ @@ -120,7 +124,12 @@ BOOTSTRAP %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md @@ -132,5 +141,8 @@ BOOTSTRAP %changelog +* Wed Jun 17 2015 Remi Collet - 1.0.3-1 +- add backport stuff for remirepo + * Sat May 16 2015 Shawn Iwinski - 1.0.3-1 - Initial package -- cgit