From b423d8c3298db7afcd5baef9832c974365150cc7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Sun, 17 Mar 2024 23:03:59 -0400 Subject: [PATCH] * Sun Mar 17 2024 Jean-Philippe Pialasse 1.4.7-3.sme - tidy spec to build for php 7.2 on el8/SME11 --- Makefile | 2 +- README.md | 4 ++-- php-pear-Services-Weather.spec | 21 +++++++++++++++++---- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 4945dfb..8c46724 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -NAME := php-pear-Services_Weather +NAME := php-pear-Services-Weather SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common diff --git a/README.md b/README.md index 0789afe..8373d32 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # php-pear-Services_Weather -SMEServer Koozali developed git repo for php-pear-Services_Weather core +SMEServer Koozali developed git repo for php-pear-Services-Weather core ## Wiki -
https://wiki.koozali.org/php-pear-Services_Weather +
https://wiki.koozali.org/php-pear-Services-Weather ## Bugzilla Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=php-pear-Services_Weather&product=SME%20Server%2011.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) diff --git a/php-pear-Services-Weather.spec b/php-pear-Services-Weather.spec index 53c3363..16f36bb 100644 --- a/php-pear-Services-Weather.spec +++ b/php-pear-Services-Weather.spec @@ -4,7 +4,7 @@ Name: php-pear-Services-Weather Version: 1.4.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: This class acts as an interface to various online weather-services Group: Development/Libraries @@ -13,12 +13,14 @@ URL: http://pear.php.net/package/Services_Weather # Fix corrupted archive # tar xif Services_Weather-1.4.7.tgz # tar czf Services_Weather-1.4.7.tgz package.xml Services_Weather-1.4.7 -Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz +Source0: http://pear.php.net/get/Services_Weather-%{version}.tgz Source2: xml2changelog BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-pear +BuildRequires: php php-xml +#php-json php-xmlrpc php-pear-XML-Parser php-pear-XML-Serializer php-process php-mbstring php-zip Requires(post): %{__pear} Requires(postun): %{__pear} @@ -42,7 +44,9 @@ have a usable API and are properly documented. %prep %setup -q -c -%{_bindir}/php -n %{SOURCE2} package.xml >CHANGELOG +#%{_bindir}/php -n %{SOURCE2} -n package.xml +# seems that el8 php72 does not works well for SimpleXML without php.ini +%{_bindir}/php %{SOURCE2} package.xml >CHANGELOG cd %{pear_name}-%{version} # Package is V2 @@ -96,10 +100,19 @@ fi %changelog +* Sun Mar 17 2024 Jean-Philippe Pialasse 1.4.7-3.sme +- tidy spec to build for php 7.2 on el8/SME11 + +* Sun Mar 17 2024 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + Mon Aug 22 2012 --> Mon Aug 20 2012 or Wed Aug 22 2012 or Mon Aug 27 2012 or .... + * Thu Feb 14 2013 Fedora Release Engineering - 1.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild -* Mon Aug 22 2012 Remi Collet - 1.4.7-1 +* Wed Aug 22 2012 Remi Collet - 1.4.7-1 + Mon Aug 22 2012 --> Mon Aug 20 2012 or Wed Aug 22 2012 or Mon Aug 27 2012 or .... - update to 1.4.7 (QA release) * Sun Aug 19 2012 Remi Collet - 1.4.6-4