[php-pear-Services-Weather] update to 1.4.6
Remi Collet
remi at fedoraproject.org
Mon Dec 12 14:11:49 UTC 2011
commit 6d035ce380625e6865774adedd6bf0d0497ea69b
Author: remi <fedora at famillecollet.com>
Date: Mon Dec 12 15:11:43 2011 +0100
update to 1.4.6
.gitignore | 3 +++
php-pear-Services-Weather.spec | 14 +++++++-------
sources | 2 +-
3 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8806a03..b6ff120 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
+package-*.xml
+*spec~
Services_Weather-1.4.5.tgz
+/Services_Weather-1.4.6.tgz
diff --git a/php-pear-Services-Weather.spec b/php-pear-Services-Weather.spec
index 0041da2..bca0eb6 100644
--- a/php-pear-Services-Weather.spec
+++ b/php-pear-Services-Weather.spec
@@ -2,8 +2,8 @@
%global pear_name Services_Weather
Name: php-pear-Services-Weather
-Version: 1.4.5
-Release: 4%{?dist}
+Version: 1.4.6
+Release: 1%{?dist}
Summary: This class acts as an interface to various online weather-services
Group: Development/Libraries
@@ -40,10 +40,6 @@ have a usable API and are properly documented.
%setup -q -c
%{_bindir}/php -n %{SOURCE2} package.xml >CHANGELOG
-# Create a "localized" php.ini to avoid build warning
-cp /etc/php.ini .
-echo "date.timezone=UTC" >>php.ini
-
cd %{pear_name}-%{version}
# Package is V2
mv ../package.xml %{name}.xml
@@ -57,7 +53,7 @@ cd %{pear_name}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
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}/.??*
@@ -70,6 +66,7 @@ install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
sed -i -e s@/usr/local/bin/php@%{_bindir}/php@ $RPM_BUILD_ROOT%{pear_datadir}/%{pear_name}/buildMetarDB.php
chmod +x $RPM_BUILD_ROOT%{pear_datadir}/%{pear_name}/buildMetarDB.php
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -95,6 +92,9 @@ fi
%changelog
+* Mon Dec 12 2011 Remi Collet <Fedora at FamilleCollet.com> 1.4.6-1
+- update to 1.4.6 (QA release)
+
* Tue Apr 26 2011 Remi Collet <Fedora at FamilleCollet.com> 1.4.5-4
- doc in /usr/share/doc/pear
- define timezone during build
diff --git a/sources b/sources
index 7ba6840..e408ebe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3afb9f4e38d9f129c05fbe1952f2d6ee Services_Weather-1.4.5.tgz
+302e17299f03128d24470c418956d3b4 Services_Weather-1.4.6.tgz
More information about the scm-commits
mailing list