From 5e71a4404d363f5ed725e5c671994462394cc027 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Aug 2012 10:41:57 +0200 Subject: php-horde-Horde-Http: backport --- Makefile | 4 ++++ php-horde-Horde-Http.spec | 11 ++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..13af741 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../../common/Makefile + diff --git a/php-horde-Horde-Http.spec b/php-horde-Horde-Http.spec index f8adcc3..7b23ca5 100644 --- a/php-horde-Horde-Http.spec +++ b/php-horde-Horde-Http.spec @@ -11,6 +11,7 @@ License: BSD URL: http://pear.horde.org Source0: http://pear.horde.org/get/%{pear_name}-%{version}.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: php-pear(PEAR) >= 1.7.0 BuildRequires: php-channel(pear.horde.org) @@ -32,10 +33,6 @@ This package provides a set of classes for making HTTP requests. [ -f package2.xml ] || mv package.xml package2.xml mv package2.xml %{pear_name}-%{version}/%{name}.xml -# Create a "localized" php.ini to avoid build warning -cp /etc/php.ini . -echo "date.timezone=UTC" >>php.ini - cd %{pear_name}-%{version} @@ -46,7 +43,7 @@ cd %{pear_name}-%{version} %install cd %{pear_name}-%{version} -PHPRC=../php.ini %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml +%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml # Clean up unnecessary files rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??* @@ -66,6 +63,7 @@ if [ $1 -eq 0 ] ; then fi %files +%defattr(-,root,root,-) %doc %{pear_docdir}/%{pear_name} %{pear_xmldir}/%{name}.xml %{pear_phpdir}/Horde/Http @@ -73,6 +71,9 @@ fi %{pear_testdir}/Horde_Http %changelog +* Wed Aug 01 2012 Remi Collet - 1.1.1-1 +- backport for remi repo + * Thu Jun 21 2012 Nick Bebout - 1.1.1-1 - Upgrade to 1.1.1 -- cgit