From b7bd7310402e26a264e9238e7f7ff41c0cab0e64 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Jan 2013 09:27:37 +0100 Subject: php-Raven: backport --- Makefile | 4 ++++ php-Raven.spec | 6 ++++++ 2 files changed, 10 insertions(+) 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-Raven.spec b/php-Raven.spec index 365ad0d..c11581c 100644 --- a/php-Raven.spec +++ b/php-Raven.spec @@ -16,6 +16,7 @@ License: BSD URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{github_commit}/%{name}-%{version}-%{github_commit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Test build requires BuildRequires: php-common >= %{php_min_ver} @@ -96,16 +97,21 @@ cp -rp test/* %{buildroot}%{_datadir}/tests/%{name}/ %files +%defattr(-,root,root,-) %doc LICENSE AUTHORS README.rst composer.json %{_datadir}/php/%{lib_name} %{_bindir}/raven %files tests +%defattr(-,root,root,-) %dir %{_datadir}/tests %{_datadir}/tests/%{name} %changelog +* Wed Jan 23 2013 Remi Collet 0.4.0-2 +- backport 0.4.0 for remi repo. + * Tue Jan 22 2013 Shawn Iwinski 0.4.0-2 - Updated bin install from "install" to "install -pm 755" -- cgit