* Sun Mar 17 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.4.7-3.sme

- tidy spec to build for php 7.2 on el8/SME11
This commit is contained in:
Jean-Philippe Pialasse 2024-03-17 23:03:59 -04:00
parent 5cdc5982ed
commit b423d8c329
3 changed files with 20 additions and 7 deletions

View File

@ -1,4 +1,4 @@
NAME := php-pear-Services_Weather NAME := php-pear-Services-Weather
SPECFILE = $(firstword $(wildcard *.spec)) SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common define find-makefile-common

View File

@ -1,9 +1,9 @@
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> php-pear-Services_Weather # <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> 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 ## Wiki
<br />https://wiki.koozali.org/php-pear-Services_Weather <br />https://wiki.koozali.org/php-pear-Services-Weather
## Bugzilla ## 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) 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)

View File

@ -4,7 +4,7 @@
Name: php-pear-Services-Weather Name: php-pear-Services-Weather
Version: 1.4.7 Version: 1.4.7
Release: 2%{?dist} Release: 3%{?dist}
Summary: This class acts as an interface to various online weather-services Summary: This class acts as an interface to various online weather-services
Group: Development/Libraries Group: Development/Libraries
@ -13,12 +13,14 @@ URL: http://pear.php.net/package/Services_Weather
# Fix corrupted archive # Fix corrupted archive
# tar xif Services_Weather-1.4.7.tgz # tar xif Services_Weather-1.4.7.tgz
# tar czf Services_Weather-1.4.7.tgz package.xml Services_Weather-1.4.7 # 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 Source2: xml2changelog
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: php-pear 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(post): %{__pear}
Requires(postun): %{__pear} Requires(postun): %{__pear}
@ -42,7 +44,9 @@ have a usable API and are properly documented.
%prep %prep
%setup -q -c %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} cd %{pear_name}-%{version}
# Package is V2 # Package is V2
@ -96,10 +100,19 @@ fi
%changelog %changelog
* Sun Mar 17 2024 Jean-Philippe Pialasse <jpp@koozali.org> 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 <rel-eng@lists.fedoraproject.org> - 1.4.7-2 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Aug 22 2012 Remi Collet <remi@fedoraproject.org> - 1.4.7-1 * Wed Aug 22 2012 Remi Collet <remi@fedoraproject.org> - 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) - update to 1.4.7 (QA release)
* Sun Aug 19 2012 Remi Collet <remi@fedoraproject.org> - 1.4.6-4 * Sun Aug 19 2012 Remi Collet <remi@fedoraproject.org> - 1.4.6-4