[pngcrush] switch to the smaller -nolib archive.

François Cami fcami at fedoraproject.org
Sun Jun 2 18:45:03 UTC 2013


commit 1a79aa087ddac76c9212d9c9fd8c6b8b9e4b312f
Author: François Cami <fcami at fedoraproject.org>
Date:   Sun Jun 2 20:44:48 2013 +0200

    switch to the smaller -nolib archive.

 .gitignore    |    1 +
 pngcrush.spec |    9 ++++++---
 sources       |    2 +-
 3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bd3dc8c..5b483c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ pngcrush-1.6.10.tar.bz2
 /pngcrush-1.7.35.tar.xz
 /pngcrush-1.7.43.tar.xz
 /pngcrush-1.7.59.tar.xz
+/pngcrush-1.7.59-nolib.tar.xz
diff --git a/pngcrush.spec b/pngcrush.spec
index 41121fa..2d6e03b 100644
--- a/pngcrush.spec
+++ b/pngcrush.spec
@@ -4,11 +4,11 @@
 Summary:        Optimizer for PNG (Portable Network Graphics) files
 Name:           pngcrush
 Version:        1.7.59
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        zlib
 Group:          Applications/File
 URL:            http://pmt.sourceforge.net/pngcrush/
-Source0:        http://downloads.sourceforge.net/pmt/%{name}-%{version}.tar.xz
+Source0:        http://downloads.sourceforge.net/pmt/%{name}-%{version}-nolib.tar.xz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  libpng-devel, zlib-devel, pkgconfig
@@ -23,7 +23,7 @@ remove unwanted ancillary chunks, or to add certain chunks including gAMA,
 tRNS, iCCP, and textual chunks. 
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-nolib
 
 %build
 rm -f z*.h crc32.h deflate.h inf*.h trees.h png*.h # force using system headers
@@ -43,6 +43,9 @@ gcc %{optflags} $pngflags -lz -o pngcrush pngcrush.c
 %{_bindir}/%{name}
 
 %changelog
+* Sun Jun  2 2013 François Cami <fcami at fedoraproject.org> - 1.7.59-2
+- Switch to the smaller -nolib archive.
+
 * Fri May 31 2013 François Cami <fcami at fedoraproject.org> - 1.7.59-1
 - New upstream release.
 - Use more macros.
diff --git a/sources b/sources
index e69e963..90851bd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-865224158ddd216f30887ca097cea738  pngcrush-1.7.59.tar.xz
+b57397564357cfa5954e04328a2c945c  pngcrush-1.7.59-nolib.tar.xz


More information about the scm-commits mailing list