diff --git a/pcre.spec b/pcre.spec index 9361899..6ffb523 100644 --- a/pcre.spec +++ b/pcre.spec @@ -1,6 +1,6 @@ Name: pcre Version: 5.0 -Release: 1 +Release: 2 Summary: Perl-compatible regular expression library URL: http://www.pcre.org/ Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2 @@ -31,10 +31,10 @@ Development files (Headers, libraries for static linking, etc) for %{name}. %prep %setup -q %patch -p1 -b .amd64 -%configure --enable-utf8 %build -make +%configure --enable-utf8 +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -48,6 +48,9 @@ ln -fs ../../%{_lib}/libpcre.so.0 libpcre.so popd rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +%check +make check + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -62,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/* %{_bindir}/pcregrep %{_bindir}/pcretest +%doc LICENCE AUTHORS %files devel %defattr(-,root,root) @@ -73,6 +77,11 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/pcre-config %changelog +* Thu Nov 18 2004 Joe Orton 5.0-2 +- include LICENCE, AUTHORS in docdir +- run make check +- move %%configure to %%build + * Thu Nov 18 2004 Than Ngo 5.0-1 - update to 5.0 - change License: BSD