- Get rid of rpath and enable test suite
This commit is contained in:
parent
5a0391c5e8
commit
c1d46f36d8
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
Name: libprelude
|
Name: libprelude
|
||||||
Version: 0.9.20
|
Version: 0.9.20
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The prelude library
|
Summary: The prelude library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
@ -14,7 +14,7 @@ Source0: http://www.prelude-ids.org/download/releases/%{name}/%{name}-%{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: gnutls-devel, python-devel, ruby, ruby-devel, lua-devel
|
BuildRequires: gnutls-devel, python-devel, ruby, ruby-devel, lua-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig valgrind chrpath
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Prelude Library is a collection of generic functions providing
|
The Prelude Library is a collection of generic functions providing
|
||||||
|
@ -75,7 +75,6 @@ Ruby bindings for libprelude.
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \
|
--with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \
|
||||||
|
@ -101,10 +100,16 @@ find %{buildroot} -type f \( -name .packlist -o -name perllocal.pod \) -exec rm
|
||||||
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
rm -f %{buildroot}%{ruby_sitearch}/PreludeEasy.la
|
rm -f %{buildroot}%{ruby_sitearch}/PreludeEasy.la
|
||||||
|
chmod +w %{buildroot}%{perl_vendorarch}/auto/Prelude/Prelude.so
|
||||||
|
chrpath -d %{buildroot}%{perl_vendorarch}/auto/Prelude/Prelude.so
|
||||||
|
chmod -w %{buildroot}%{perl_vendorarch}/auto/Prelude/Prelude.so
|
||||||
|
|
||||||
# Fix time stamp for both 32 and 64 bit libraries
|
# Fix time stamp for both 32 and 64 bit libraries
|
||||||
touch -r ./configure.in %{buildroot}%{_sysconfdir}/prelude/default/*
|
touch -r ./configure.in %{buildroot}%{_sysconfdir}/prelude/default/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
@ -146,6 +151,9 @@ rm -rf %{buildroot}
|
||||||
%{ruby_sitearch}/PreludeEasy.so
|
%{ruby_sitearch}/PreludeEasy.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 03 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.20-2
|
||||||
|
- Get rid of rpath and enable test suite
|
||||||
|
|
||||||
* Wed Sep 03 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.20-1
|
* Wed Sep 03 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.20-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue