summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-01-09 08:17:14 +0100
committerRemi Collet <fedora@famillecollet.com>2013-01-09 08:17:14 +0100
commit79322fa6b59d1f6f61dc611b4f5a5273ea959a8d (patch)
treec86dac31c265e81cf4ece719c4245fe6d7b7772c
parent2e72daccd65e72e476d57bced6cb0cd19f60f3e9 (diff)
php-jsonlint: backport
-rw-r--r--Makefile4
-rw-r--r--php-jsonlint.spec9
2 files changed, 11 insertions, 2 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-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 <RPMS@FamilleCollet.com> - 1.1.0-1
+- backport for remi repo
+
* Mon Jan 7 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 1.1.0-1
- Initial package