summaryrefslogtreecommitdiffstats
path: root/php-Monolog.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-25 12:16:01 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-25 12:16:01 +0100
commit4650a2f7b2a29a25008c2cb933698d34614dcee7 (patch)
treef2131d77ec688916ff3cae036191d22438aa0607 /php-Monolog.spec
parent911d9479a5fda34129b7e67110dd9ff91a695de1 (diff)
php-Monolog: backport 1.2.1 for remi repo
Diffstat (limited to 'php-Monolog.spec')
-rw-r--r--php-Monolog.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/php-Monolog.spec b/php-Monolog.spec
index 7970983..13f2297 100644
--- a/php-Monolog.spec
+++ b/php-Monolog.spec
@@ -10,6 +10,7 @@ License: MIT
URL: https://github.com/Seldaek/monolog
Source0: %{url}/archive/%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: php-common >= 5.3.0
@@ -22,8 +23,7 @@ Requires: php-libxml
Requires: php-pcre
Requires: php-sockets
Requires: php-spl
-# phpci dist specific requires
-%{?fedora:Requires: php-filter}
+Requires: php-filter
%description
%{summary}.
@@ -39,6 +39,7 @@ Optional packages:
%package amqp
Summary: Monolog AMQP handler
+Group: Development/Libraries
Requires: php-%{libname} = %{version}-%{release}
Requires: php-pecl(amqp)
@@ -48,6 +49,7 @@ Allow sending log messages to an AMQP server (1.0+ required).
%package mongo
Summary: Monolog MongoDB handler
+Group: Development/Libraries
Requires: php-%{libname} = %{version}-%{release}
Requires: php-pecl(mongo)
@@ -69,19 +71,25 @@ cp -pr src/%{libname} %{buildroot}%{_datadir}/php/
%files
+%defattr(-,root,root,-)
%doc LICENSE *.mdown doc composer.json
%{_datadir}/php/%{libname}
%exclude %{_datadir}/php/%{libname}/Handler/MongoDBHandler.php
%exclude %{_datadir}/php/%{libname}/Handler/AmqpHandler.php
%files amqp
+%defattr(-,root,root,-)
%{_datadir}/php/%{libname}/Handler/AmqpHandler.php
%files mongo
+%defattr(-,root,root,-)
%{_datadir}/php/%{libname}/Handler/MongoDBHandler.php
%changelog
+* Sun Nov 25 2012 Remi Collet <RPMS@famillecollet.com> 1.2.1-1
+- backport 1.2.1 for remi repo
+
* Sat Nov 17 2012 Shawn Iwinski <shawn.iwinski@gmail.com> 1.2.1-1
- Updated to upstream version 1.2.1
- Changed %%{libname} from monolog to Monolog