|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
# RHEL spec file for php-pecl-rrd, from
|
|
|
|
|
#
|
|
|
|
|
# remirepo/fedora spec file for php-pecl-rrd
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2011-2019 Remi Collet
|
|
|
|
|
# Copyright (c) 2011-2021 Remi Collet
|
|
|
|
|
# License: CC-BY-SA
|
|
|
|
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
|
#
|
|
|
|
@ -18,14 +16,16 @@
|
|
|
|
|
|
|
|
|
|
Summary: PHP Bindings for rrdtool
|
|
|
|
|
Name: php-pecl-rrd
|
|
|
|
|
Version: 2.0.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 2.0.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://pecl.php.net/package/rrd
|
|
|
|
|
URL: https://pecl.php.net/package/rrd
|
|
|
|
|
|
|
|
|
|
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
|
|
|
|
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
|
|
|
|
|
|
|
|
|
BuildRequires: php-devel > 7
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: php-devel >= 7.0
|
|
|
|
|
BuildRequires: rrdtool
|
|
|
|
|
BuildRequires: pkgconfig(librrd) >= 1.3.0
|
|
|
|
|
BuildRequires: php-pear
|
|
|
|
@ -55,6 +55,15 @@ sed -e 's/role="test"/role="src"/' \
|
|
|
|
|
-e '/LICENSE/s/role="doc"/role="src"/' \
|
|
|
|
|
-i package.xml
|
|
|
|
|
|
|
|
|
|
cd NTS
|
|
|
|
|
# Sanity check, really often broken
|
|
|
|
|
extver=$(sed -n '/#define PHP_RRD_VERSION/{s/.* "//;s/".*$//;p}' php_rrd.h)
|
|
|
|
|
if test "x${extver}" != "x%{version}%{?prever}"; then
|
|
|
|
|
: Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}.
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
cat > %{ini_name} << 'EOF'
|
|
|
|
|
; Enable %{pecl_name} extension module
|
|
|
|
|
extension=%{pecl_name}.so
|
|
|
|
@ -150,11 +159,31 @@ REPORT_EXIT_STATUS=1 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 11 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.0.1-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.3-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.3-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
* Wed Apr 28 2021 Remi Collet <remi@remirepo.net> - 2.0.3-1
|
|
|
|
|
- update to 2.0.3
|
|
|
|
|
|
|
|
|
|
* Mon Apr 19 2021 Remi Collet <remi@remirepo.net> - 2.0.2-1
|
|
|
|
|
- update to 2.0.2
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.1-17
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 25 2019 Remi Collet <rcollet@redhat.com> - 2.0.1-1
|
|
|
|
|
- build for RHEL 8
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Remi Collet <remi@remirepo.net> - 2.0.1-13
|
|
|
|
|
- rebuild for https://fedoraproject.org/wiki/Changes/php74
|
|
|
|
|