summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-25 12:01:03 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-25 12:01:03 +0100
commit5bed79d24ab18404c9bad73042c0fb7fbd571d3c (patch)
tree9cbc4d4bb63bf2a2cb4ad38d6e5088a9837099fa
parent7244326951546ac846bf76b997103a5eba6f18f0 (diff)
php-cloudfiles: backport
-rw-r--r--Makefile4
-rw-r--r--php-cloudfiles.spec8
2 files changed, 11 insertions, 1 deletions
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 <RPMS@famillecollet.com> - 1.7.11-2
+- backport 1.7.11 for remi repo
+
* Tue Oct 02 2012 Gregor Tätzner <brummbq@fedoraproject.org> - 1.7.11-2
- added all needed php extensions to Requires