- include LICENCE, AUTHORS in docdir
- run make check - move %configure to %build
This commit is contained in:
parent
7ae822c6b4
commit
3ecca5c01e
15
pcre.spec
15
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 <jorton@redhat.com> 5.0-2
|
||||
- include LICENCE, AUTHORS in docdir
|
||||
- run make check
|
||||
- move %%configure to %%build
|
||||
|
||||
* Thu Nov 18 2004 Than Ngo <than@redhat.com> 5.0-1
|
||||
- update to 5.0
|
||||
- change License: BSD
|
||||
|
Loading…
Reference in New Issue
Block a user