summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-25 12:21:44 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-25 12:21:44 +0100
commit62209bcc0d5ed089f157f24d247c9d55fbe33aa7 (patch)
tree4a65c4e1f609627e037b7bc579efac3b29b33571
parent6916a7d2528cac60fd5bfe51c6d01002f270feb3 (diff)
php-lessphp: backport
-rw-r--r--Makefile4
-rw-r--r--php-lessphp.spec5
2 files changed, 9 insertions, 0 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-lessphp.spec b/php-lessphp.spec
index e665cde..f2d3bde 100644
--- a/php-lessphp.spec
+++ b/php-lessphp.spec
@@ -10,6 +10,7 @@ License: MIT or GPLv3
URL: http://leafo.net/lessphp
Source0: %{url}/src/%{libname}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: help2man
# Test requires
@@ -77,6 +78,7 @@ sed 's#%{_datadir}#%{buildroot}%{_datadir}#' -i tests/*.php
%files
+%defattr(-,root,root,-)
%doc LICENSE README.md docs composer.json
%doc %{_mandir}/man1/plessc.1*
%{_datadir}/php/%{libname}
@@ -86,6 +88,9 @@ sed 's#%{_datadir}#%{buildroot}%{_datadir}#' -i tests/*.php
%changelog
+* Sun Nov 25 2012 Remi Collet <RPMS@famillecollet.com> 0.3.8-3
+- backport 0.3.8 for remi repo
+
* Sun Nov 18 2012 Shawn Iwinski <shawn.iwinski@gmail.com> 0.3.8-3
- Fixed man page creation
- Added tests directory ownership