From 609cd470aa89b9551a11ced45b5ae19800a79549 Mon Sep 17 00:00:00 2001 From: Alexander Khryukin Date: Fri, 19 Oct 2012 13:08:45 +0000 Subject: [PATCH] contrib rebuild and pkgconfig(lib) --- upx.spec | 68 ++------------------------------------------------------ 1 file changed, 2 insertions(+), 66 deletions(-) diff --git a/upx.spec b/upx.spec index 3f11ac2..d5a682a 100644 --- a/upx.spec +++ b/upx.spec @@ -6,9 +6,8 @@ License: GPL Group: Archiving/Compression URL: http://upx.sourceforge.net/ Source0: http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2 -BuildRequires: libucl-devel >= 1.03 -BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildRequires: ucl-devel >= 1.03 +BuildRequires: pkgconfig(zlib) %description UPX is an advanced executable file compressor. UPX will typically @@ -45,70 +44,7 @@ install -d %{buildroot}%{_mandir}/man1 install -m 755 src/upx.out %{buildroot}%{_bindir}/upx install -m 644 doc/upx.1 %{buildroot}%{_mandir}/man1/ -%clean -rm -rf %{buildroot} - %files -%defattr (-,root,root) %doc BUGS LICENSE NEWS PROJECTS README* THANKS doc/upx.doc doc/upx.html doc/*.txt %{_bindir}/* %attr(644,root,man) %{_mandir}/man1/* - - - - -%changelog -* Mon Nov 08 2010 Götz Waschk 3.07-1mdv2011.0 -+ Revision: 595121 -- new version -- drop patch - -* Wed Oct 07 2009 Oden Eriksson 3.04-1mdv2010.0 -+ Revision: 455464 -- 3.04 -- use %%optflags -- P0: fix format string errors - - + Thierry Vignaud - - rebuild - -* Fri Aug 08 2008 Thierry Vignaud 3.03-2mdv2009.0 -+ Revision: 269450 -- rebuild early 2009.0 package (before pixel changes) - -* Fri May 16 2008 Oden Eriksson 3.03-1mdv2009.0 -+ Revision: 208167 -- 3.03 - - + Erwan Velu - - 3.02 - -* Wed Jan 02 2008 Olivier Blin 1mdv2008.1-current -+ Revision: 140925 -- restore BuildRoot - - + Thierry Vignaud - - kill re-definition of %%buildroot on Pixel's request - - -* Mon Dec 11 2006 Oden Eriksson 2.03-1mdv2007.0 -+ Revision: 94796 -- Import upx - -* Mon Dec 11 2006 Oden Eriksson 2.03-1mdv2007.1 -- 2.03 - -* Thu Jul 01 2004 Götz Waschk 1.25-2mdk -- enable parallel build -- fix used build flags -- fix description (Stef) - -* Thu Jul 01 2004 Götz Waschk 1.25-1mdk -- requires new ucl -- drop prefix -- download URL -- New release 1.25 - -* Tue Jun 08 2004 Götz Waschk 1.24-3mdk -- rebuild for new g++ -