summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-07-24 19:33:21 +0200
committerRemi Collet <fedora@famillecollet.com>2013-07-24 19:33:21 +0200
commitc92ebb75b2276ea88f17b90e90aeced44c3d6c95 (patch)
tree6d324f6f6f1677fea8c0d7032257f0b1ccd41fdc
parent829c8148583f79f630d38851a12e39d4fdb16bc4 (diff)
php-pecl-mongo: 1.4.2
-rw-r--r--LICENSE.md13
-rw-r--r--php-pecl-mongo.spec13
2 files changed, 6 insertions, 20 deletions
diff --git a/LICENSE.md b/LICENSE.md
deleted file mode 100644
index f2935b6..0000000
--- a/LICENSE.md
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright 2009-2012 10gen, Inc.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
diff --git a/php-pecl-mongo.spec b/php-pecl-mongo.spec
index 419c6d9..57a60aa 100644
--- a/php-pecl-mongo.spec
+++ b/php-pecl-mongo.spec
@@ -4,7 +4,7 @@
Summary: PHP MongoDB database driver
Name: php-pecl-mongo
-Version: 1.4.1
+Version: 1.4.2
Release: 1%{?dist}.1
License: ASL 2.0
Group: Development/Languages
@@ -12,7 +12,6 @@ URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
Source1: %{pecl_name}.ini
-Source2: https://raw.github.com/mongodb/mongo-php-driver/master/LICENSE.md
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: php-devel >= 5.2.6
@@ -31,9 +30,7 @@ Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
# Other third party repo stuff
Obsoletes: php53-pecl-%{pecl_name}
Obsoletes: php53u-pecl-%{pecl_name}
-%if "%{php_version}" > "5.4"
Obsoletes: php54-pecl-%{pecl_name}
-%endif
%if "%{php_version}" > "5.5"
Obsoletes: php55-pecl-%{pecl_name}
%endif
@@ -60,7 +57,7 @@ if test "x${extver}" != "x%{version}%{?pre}"; then
fi
cd ..
-cp %{SOURCE1} %{SOURCE2} .
+cp %{SOURCE1} .
cp -pr %{pecl_name}-%{version} %{pecl_name}-%{version}-zts
@@ -124,8 +121,7 @@ fi
%files
%defattr(-, root, root, -)
-%doc %{pecl_name}-%{version}/README.md
-%doc LICENSE.md
+%doc %{pecl_name}-%{version}/{LICENSE,README}.md
%config(noreplace) %{php_inidir}/%{pecl_name}.ini
%config(noreplace) %{php_ztsinidir}/%{pecl_name}.ini
%{php_extdir}/%{pecl_name}.so
@@ -134,6 +130,9 @@ fi
%changelog
+* Wed Jul 24 2013 Remi Collet <remi@fedoraproject.org> - 1.4.2-1
+- Update to 1.4.2
+
* Mon Jun 03 2013 Remi Collet <remi@fedoraproject.org> - 1.4.1-1
- Update to 1.4.1