From 79322fa6b59d1f6f61dc611b4f5a5273ea959a8d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Jan 2013 08:17:14 +0100 Subject: php-jsonlint: backport --- Makefile | 4 ++++ php-jsonlint.spec | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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-jsonlint.spec b/php-jsonlint.spec index 0571a93..18e2b1e 100644 --- a/php-jsonlint.spec +++ b/php-jsonlint.spec @@ -11,14 +11,15 @@ License: MIT URL: https://github.com/Seldaek/%{libname} Source0: %{url}/archive/%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Test build requires -BuildRequires: php-common >= %{php_min_ver} +BuildRequires: php(language) >= %{php_min_ver} BuildRequires: php-pear(pear.phpunit.de/PHPUnit) # Test build requires: phpci BuildRequires: php-pcre -Requires: php-common >= %{php_min_ver} +Requires: php(language) >= %{php_min_ver} # phpci requires Requires: php-pcre @@ -58,11 +59,15 @@ cp -rp src/Seld/JsonLint %{buildroot}%{_datadir}/php/Seld/ %files +%defattr(-,root,root,-) %doc LICENSE README.mdown composer.json %dir %{_datadir}/php/Seld %{_datadir}/php/Seld/JsonLint %changelog +* Wed Jan 9 2013 Remi Collet - 1.1.0-1 +- backport for remi repo + * Mon Jan 7 2013 Shawn Iwinski 1.1.0-1 - Initial package -- cgit