From 5bed79d24ab18404c9bad73042c0fb7fbd571d3c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 25 Nov 2012 12:01:03 +0100 Subject: php-cloudfiles: backport --- Makefile | 4 ++++ php-cloudfiles.spec | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91b0fd5 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../common/Makefile + diff --git a/php-cloudfiles.spec b/php-cloudfiles.spec index e4f7a0d..6dc309b 100644 --- a/php-cloudfiles.spec +++ b/php-cloudfiles.spec @@ -9,11 +9,12 @@ License: MIT URL: https://github.com/rackspace/php-cloudfiles Source0: https://github.com/rackspace/php-cloudfiles/tarball/v1.7.11/rackspace-%{name}-v%{version}-0-g%{commit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch Requires: php-curl, php-date, php-fileinfo, php-hash, php-json Requires: php-mbstring, php-pcre, php-spl -BuildArch: noarch %description PHP bindings for the Rackspace Cloud Files RESTful API. Features: @@ -51,15 +52,20 @@ cp -a docs %{buildroot}%{_docdir}/%{name}-devel-%{version}-%{release} %files +%defattr(-,root,root,-) %doc README COPYING Changelog AUTHORS %{_datadir}/php/%{name} %files devel-doc +%defattr(-,root,root,-) %{_docdir}/%{name}-devel-%{version}-%{release} %changelog +* Sun Nov 25 2012 Remi Collet - 1.7.11-2 +- backport 1.7.11 for remi repo + * Tue Oct 02 2012 Gregor Tätzner - 1.7.11-2 - added all needed php extensions to Requires -- cgit