- Get rid of rpath and enable test suite

This commit is contained in:
Steve Grubb 2008-09-03 21:17:52 +00:00
parent 5a0391c5e8
commit c1d46f36d8
1 changed files with 11 additions and 3 deletions

View File

@ -5,7 +5,7 @@
Name: libprelude
Version: 0.9.20
Release: 1%{?dist}
Release: 2%{?dist}
Summary: The prelude library
Group: System Environment/Libraries
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)
BuildRequires: gnutls-devel, python-devel, ruby, ruby-devel, lua-devel
BuildRequires: swig
BuildRequires: swig valgrind chrpath
%description
The Prelude Library is a collection of generic functions providing
@ -75,7 +75,6 @@ Ruby bindings for libprelude.
%prep
%setup -q
%build
%configure --disable-static \
--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 {} ';'
rm -f %{buildroot}%{_libdir}/*.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
touch -r ./configure.in %{buildroot}%{_sysconfdir}/prelude/default/*
%check
make check
%clean
rm -rf %{buildroot}
@ -146,6 +151,9 @@ rm -rf %{buildroot}
%{ruby_sitearch}/PreludeEasy.so
%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
- New upstream release