From 2b8c63e163519a6dfdba6f5d23d411eb1159d580 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 29 Jan 2013 15:22:14 +0100 Subject: php-password-compat: backport --- Makefile | 10 ++++++++++ php-password-compat.spec | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d095534 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +INCL1 := $(shell php-config --includes) +INCL2 := -I $(shell php-config --include-dir)/sapi/embed +LIBS := -lphp5 $(shell php-config --libs) + +include ../../common/Makefile + +tembed: tembed.c + gcc -Wall $(INCL1) $(INCL2) tembed.c $(LIBS) -o tembed diff --git a/php-password-compat.spec b/php-password-compat.spec index a3fe75a..bce1137 100644 --- a/php-password-compat.spec +++ b/php-password-compat.spec @@ -13,6 +13,7 @@ License: MIT URL: https://github.com/ircmaxell/password_compat Source0: https://github.com/ircmaxell/%{real_name}/archive/%{commit}/%{real_name}-%{version}-%{shortcommit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-pear(pear.phpunit.de/PHPUnit) @@ -51,6 +52,7 @@ cd test %files +%defattr(-,root,root,-) %doc LICENSE.md README.md composer.json %dir %{_datadir}/php/%{real_name} %{_datadir}/php/%{real_name}/* @@ -60,6 +62,9 @@ cd test %changelog +* Tue Jan 29 2013 Remi Collet - 1.0.0-4.git5815cf +- backport for remi repo + * Tue Jan 29 2013 Johan Cwiklinski - 1.0.0-4.git5815cf - License was not incorrect... - Directory not owned -- cgit