rpms/pcre/devel .cvsignore, 1.10, 1.11 pcre.spec, 1.28, 1.29 sources, 1.11, 1.12
Lubomir Rintel
lkundrak at fedoraproject.org
Wed Oct 1 11:12:43 UTC 2008
Author: lkundrak
Update of /cvs/pkgs/rpms/pcre/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10404
Modified Files:
.cvsignore pcre.spec sources
Log Message:
* Wed Oct 1 2008 Lubomir Rintel <lkundrak at v3.sk> - 7.8-1
- Update to 7.8, drop upstreamed patches
- Fix destination of documentation (#427763)
- Use buildroot macro consistently
- Separate the static library, as per current Guidelines
- Satisfy rpmlint
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pcre/devel/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- .cvsignore 17 Sep 2007 13:12:53 -0000 1.10
+++ .cvsignore 1 Oct 2008 11:12:12 -0000 1.11
@@ -1,6 +1 @@
-pcre-4.5.tar.bz2
-pcre-5.0.tar.bz2
-pcre-6.3.tar.bz2
-pcre-6.6.tar.bz2
-pcre-6.7.tar.bz2
-pcre-7.3.tar.bz2
+pcre-7.8.tar.bz2
Index: pcre.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pcre/devel/pcre.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- pcre.spec 4 Jul 2008 16:05:48 -0000 1.28
+++ pcre.spec 1 Oct 2008 11:12:12 -0000 1.29
@@ -1,15 +1,13 @@
Name: pcre
-Version: 7.3
-Release: 4%{?dist}
+Version: 7.8
+Release: 1%{?dist}
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
Patch0: pcre-7.3-multilib.patch
-Patch1: pcre-7.3-CVE-2008-0674.patch
-Patch2: pcre-7.3-CVE-2008-2371.patch
License: BSD
Group: System Environment/Libraries
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
Perl-compatible regular expression library.
@@ -25,34 +23,45 @@
Requires: %{name} = %{version}-%{release}
%description devel
-Development files (Headers, libraries for static linking, etc) for %{name}.
+Development files (Headers, libraries for dynamic linking, etc) for %{name}.
+
+%package static
+Summary: Static library for %{name}
+Group: Development/Libraries
+
+%description static
+Library for static linking for %{name}.
%prep
%setup -q
%patch0 -p1 -b .multilib
-# backport from the upstream 7.6
-%patch1 -p1 -b .CVE-2008-0674
-# not yet applied in upstream SVN (2008-07-04)
-%patch2 -p1 -b .CVE-2008-2371
%build
%configure --enable-utf8 --enable-unicode-properties
+# One contributor's name is non-utf8
+iconv -f latin1 -t utf8 ChangeLog >ChangeLog.utf8
+touch --reference ChangeLog ChangeLog.utf8
+mv ChangeLog.utf8 ChangeLog
+
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=%{buildroot}
+make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p %{buildroot}/%{_lib}
-mv %{buildroot}%{_libdir}/libpcre.so.* %{buildroot}/%{_lib}/
-pushd %{buildroot}%{_libdir}
+mkdir -p $RPM_BUILD_ROOT/%{_lib}
+mv $RPM_BUILD_ROOT%{_libdir}/libpcre.so.* $RPM_BUILD_ROOT/%{_lib}/
+pushd $RPM_BUILD_ROOT%{_libdir}
ln -fs ../../%{_lib}/libpcre.so.0 libpcre.so
popd
# get rid of unneeded *.la files
-rm -f %{buildroot}%{_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# These are handled by %%doc in %%files
+rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre
%check
make check
@@ -62,7 +71,7 @@
%postun -p /sbin/ldconfig
%clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
@@ -71,23 +80,30 @@
%{_mandir}/man1/*
%{_bindir}/pcregrep
%{_bindir}/pcretest
-%doc %{_docdir}/pcre/LICENCE
-%doc %{_docdir}/pcre/AUTHORS
+%doc AUTHORS COPYING LICENCE NEWS README ChangeLog
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
-%{_libdir}/*.a
%{_libdir}/pkgconfig/*
%{_includedir}/*.h
%{_mandir}/man3/*
%{_bindir}/pcre-config
-%doc %{_docdir}/pcre
-%exclude %{_docdir}/pcre/LICENCE
-%exclude %{_docdir}/pcre/AUTHORS
+%doc doc/*.txt doc/html
+%doc HACKING
+%files static
+%defattr(-,root,root)
+%{_libdir}/*.a
%changelog
+* Wed Oct 1 2008 Lubomir Rintel <lkundrak at v3.sk> - 7.8-1
+- Update to 7.8, drop upstreamed patches
+- Fix destination of documentation (#427763)
+- Use buildroot macro consistently
+- Separate the static library, as per current Guidelines
+- Satisfy rpmlint
+
* Fri Jul 4 2008 Tomas Hoger <thoger at redhat.com> - 7.3-4
- Apply Tavis Ormandy's patch for CVE-2008-2371.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pcre/devel/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources 17 Sep 2007 13:12:53 -0000 1.11
+++ sources 1 Oct 2008 11:12:12 -0000 1.12
@@ -1 +1 @@
-08b48bf97ff84a9dea07d6be518f0046 pcre-7.3.tar.bz2
+141132d6af14dccc7b08fa797e4fd441 pcre-7.8.tar.bz2
More information about the scm-commits
mailing list