From c181bb20422612739488789fa94541270dfe70c2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 May 2015 07:54:42 +0200 Subject: php-ocramius-proxy-manager: backport stuff --- php-ocramius-proxy-manager.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/php-ocramius-proxy-manager.spec b/php-ocramius-proxy-manager.spec index 6d2d348..f375a1c 100644 --- a/php-ocramius-proxy-manager.spec +++ b/php-ocramius-proxy-manager.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-ocramius-proxy-manager from Fedora: # # RPM spec file for php-ocramius-proxy-manager # @@ -44,6 +45,7 @@ License: MIT URL: http://ocramius.github.io/ProxyManager/ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch # For autoload generation BuildRequires: %{_bindir}/phpab @@ -110,6 +112,7 @@ AUTOLOAD %install +rm -rf %{buildroot} mkdir -p %{buildroot}%{phpdir} cp -rp src/* %{buildroot}%{phpdir}/ @@ -134,7 +137,12 @@ AUTOLOAD %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md @@ -143,5 +151,8 @@ AUTOLOAD %changelog +* Mon May 18 2015 Remi Collet - 1.0.0-1 +- add needed backport stuff for remi repository + * Sat May 16 2015 Shawn Iwinski - 1.0.0-1 - Initial package -- cgit