[libpng10] Update to 1.0.62

Paul Howarth pghmcfc at fedoraproject.org
Fri Nov 21 14:38:41 UTC 2014


commit ff97a4f81efacfcd68a30422ae26be11f316bd0f
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Nov 21 14:36:10 2014 +0000

    Update to 1.0.62
    
    - New upstream release 1.0.62
      - Avoid out-of-bounds memory access while checking version string in
        pngread.c and pngwrite.c
      - Build fix for Windows
    - Use %license where possible

 libpng10.spec |   31 ++++++++++++++++++++-----------
 sources       |    2 +-
 2 files changed, 21 insertions(+), 12 deletions(-)
---
diff --git a/libpng10.spec b/libpng10.spec
index 0e095c7..2bc4582 100644
--- a/libpng10.spec
+++ b/libpng10.spec
@@ -1,7 +1,7 @@
 Summary:	Old version of libpng, needed to run old binaries
 Name:		libpng10
-Version:	1.0.61
-Release:	3%{?dist}
+Version:	1.0.62
+Release:	1%{?dist}
 License:	zlib
 Group:		System Environment/Libraries
 URL:		http://www.libpng.org/pub/png/libpng.html
@@ -62,7 +62,7 @@ make DESTDIR=%{buildroot} install
 # but I don't want to do that.
 mkdir -p %{buildroot}%{libpng10_docdir}
 # Docs for main package
-install -p -m 644 ANNOUNCE README TODO CHANGES LICENSE Y2KINFO \
+install -p -m 644 ANNOUNCE README TODO CHANGES %{!?_licensedir:LICENSE} Y2KINFO \
 	%{buildroot}%{libpng10_docdir}/
 # Docs for devel package
 install -p -m 644 example.c libpng-%{version}.txt \
@@ -95,19 +95,21 @@ rm -rf %{buildroot}
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
 %dir %{libpng10_docdir}/
 %doc %{libpng10_docdir}/ANNOUNCE
 %doc %{libpng10_docdir}/CHANGES
-%doc %{libpng10_docdir}/LICENSE
 %doc %{libpng10_docdir}/README
 %doc %{libpng10_docdir}/TODO
 %doc %{libpng10_docdir}/Y2KINFO
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc %{libpng10_docdir}/LICENSE
+%endif
 %{_libdir}/libpng.so.2
 %{_libdir}/libpng.so.2.%{version}
 
 %files devel
-%defattr(-,root,root,-)
 %doc %{libpng10_docdir}/example.c
 %doc %{libpng10_docdir}/libpng-%{version}.txt
 %{_includedir}/libpng10/
@@ -115,11 +117,18 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/libpng10.pc
 
 %changelog
-* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.61-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.61-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+* Fri Nov 21 2014 Paul Howarth <paul at city-fan.org> 1.0.62-1
+- update to 1.0.62
+  - avoid out-of-bounds memory access while checking version string in
+    pngread.c and pngwrite.c
+  - build fix for Windows
+- use %%license where possible
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 1.0.61-3
+- rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun  7 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 1.0.61-2
+- rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
 * Fri Feb  7 2014 Paul Howarth <paul at city-fan.org> 1.0.61-1
 - update to 1.0.61
diff --git a/sources b/sources
index 9f94778..8a79502 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3fa6dd36c1305bfe4bb82c8d3abb2554  libpng-1.0.61.tar.bz2
+3a5ec30190f41c2d4e00888893128f62  libpng-1.0.62.tar.bz2


More information about the scm-commits mailing list