|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
# RHEL spec file for php-pecl-rrd, from
|
|
|
|
|
#
|
|
|
|
|
# remirepo/fedora spec file for php-pecl-rrd
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2011-2021 Remi Collet
|
|
|
|
|
# Copyright (c) 2011-2019 Remi Collet
|
|
|
|
|
# License: CC-BY-SA
|
|
|
|
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
|
#
|
|
|
|
@ -16,16 +18,14 @@
|
|
|
|
|
|
|
|
|
|
Summary: PHP Bindings for rrdtool
|
|
|
|
|
Name: php-pecl-rrd
|
|
|
|
|
Version: 2.0.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 2.0.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://pecl.php.net/package/rrd
|
|
|
|
|
URL: http://pecl.php.net/package/rrd
|
|
|
|
|
|
|
|
|
|
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
|
|
|
|
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: php-devel >= 7.0
|
|
|
|
|
BuildRequires: php-devel > 7
|
|
|
|
|
BuildRequires: rrdtool
|
|
|
|
|
BuildRequires: pkgconfig(librrd) >= 1.3.0
|
|
|
|
|
BuildRequires: php-pear
|
|
|
|
@ -55,15 +55,6 @@ 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
|
|
|
|
@ -159,31 +150,11 @@ REPORT_EXIT_STATUS=1 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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 Dec 11 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.0.1-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.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
|
|
|
|
|
* Mon Nov 25 2019 Remi Collet <rcollet@redhat.com> - 2.0.1-1
|
|
|
|
|
- build for RHEL 8
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Remi Collet <remi@remirepo.net> - 2.0.1-13
|
|
|
|
|
- rebuild for https://fedoraproject.org/wiki/Changes/php74
|
|
|
|
|