summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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