Removed rpath from python bindings
This commit is contained in:
parent
becc5dd676
commit
eac1c6ef7e
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
php4-r1190.tar.gz
|
/php4-r1190.tar.gz
|
||||||
rrdtool-*.tar.gz
|
/rrdtool-*.tar.gz
|
||||||
|
43
rrdtool.spec
43
rrdtool.spec
@ -18,7 +18,7 @@
|
|||||||
Summary: Round Robin Database Tool to store and display time-series data
|
Summary: Round Robin Database Tool to store and display time-series data
|
||||||
Name: rrdtool
|
Name: rrdtool
|
||||||
Version: 1.7.2
|
Version: 1.7.2
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
License: GPLv2+ with exceptions
|
License: GPLv2+ with exceptions
|
||||||
URL: https://oss.oetiker.ch/rrdtool/
|
URL: https://oss.oetiker.ch/rrdtool/
|
||||||
Source0: https://oss.oetiker.ch/%{name}/pub/%{name}-%{version}.tar.gz
|
Source0: https://oss.oetiker.ch/%{name}/pub/%{name}-%{version}.tar.gz
|
||||||
@ -30,21 +30,33 @@ Patch3: rrdtool-1.6.0-ruby-2-fix.patch
|
|||||||
# enable php bindings on ppc
|
# enable php bindings on ppc
|
||||||
Patch4: rrdtool-1.4.8-php-ppc-fix.patch
|
Patch4: rrdtool-1.4.8-php-ppc-fix.patch
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: freetype-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: intltool >= 0.35.0
|
||||||
|
BuildRequires: cairo-devel >= 1.4.6
|
||||||
|
BuildRequires: pango-devel >= 1.17
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: groff
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: systemd
|
||||||
|
BuildRequires: sed
|
||||||
|
%if %{with_dbi}
|
||||||
|
BuildRequires: libdbi-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl-ExtUtils-MakeMaker
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-Pod-Html
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: autoconf
|
||||||
Requires: dejavu-sans-mono-fonts
|
Requires: dejavu-sans-mono-fonts
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: gcc-c++, freetype-devel
|
|
||||||
BuildRequires: libpng-devel, zlib-devel, intltool >= 0.35.0
|
|
||||||
BuildRequires: cairo-devel >= 1.4.6, pango-devel >= 1.17
|
|
||||||
BuildRequires: libtool, groff
|
|
||||||
BuildRequires: gettext, libxml2-devel, systemd
|
|
||||||
%if %{with_dbi}
|
|
||||||
BuildRequires: libdbi-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: perl-ExtUtils-MakeMaker, perl-generators, perl-Pod-Html, perl-devel
|
|
||||||
BuildRequires: automake, autoconf
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
RRD is the Acronym for Round Robin Database. RRD is a system to store and
|
RRD is the Acronym for Round Robin Database. RRD is a system to store and
|
||||||
@ -213,6 +225,10 @@ cp -p /usr/lib/rpm/redhat/config.{guess,sub} php4/
|
|||||||
--disable-static \
|
--disable-static \
|
||||||
--with-pic
|
--with-pic
|
||||||
|
|
||||||
|
# Remove rpath from python
|
||||||
|
sed -i 's|\bsetup.py build_ext\b|setup.py build_ext -R '"''"'|g' \
|
||||||
|
bindings/Makefile
|
||||||
|
|
||||||
# Fix another rpath issue
|
# Fix another rpath issue
|
||||||
perl -pi.orig -e 's|-Wl,--rpath -Wl,\$rp||g' \
|
perl -pi.orig -e 's|-Wl,--rpath -Wl,\$rp||g' \
|
||||||
bindings/perl-shared/Makefile.PL
|
bindings/perl-shared/Makefile.PL
|
||||||
@ -394,6 +410,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 13 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 1.7.2-17
|
||||||
|
- Removed rpath from python bindings
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-16
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-16
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user