Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa9804ee03 | ||
| 2fd51ac6c7 | |||
| f9ebd99bad | |||
|
|
e5d4c7ca68 |
4 changed files with 18 additions and 28 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: upx
|
||||
# $Id$
|
||||
NAME := upx
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
|||
1d5830fff06537a129c923527c4ce205 upx-3.03-src.tar.bz2
|
||||
68d662b1f831335460f9bfdbf632c6ce upx-3.04-src.tar.bz2
|
||||
29d5ffd03a5a3e51aef6a74e9eafb759 lzma465.tar.bz2
|
||||
|
|
|
|||
22
upx.spec
22
upx.spec
|
|
@ -1,13 +1,14 @@
|
|||
Name: upx
|
||||
Version: 3.03
|
||||
Release: 4%{?dist}
|
||||
Version: 3.04
|
||||
Release: 2%{?dist}
|
||||
Summary: Ultimate Packer for eXecutables
|
||||
|
||||
Group: Applications/Archiving
|
||||
License: GPLv2+
|
||||
License: GPLv2+ and Public Domain
|
||||
URL: http://upx.sourceforge.net/
|
||||
Source0: http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2
|
||||
Patch0: upx-3.03-pefile-strictproto.patch
|
||||
Source1: http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2
|
||||
#Patch0: upx-3.03-pefile-strictproto.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: ucl-devel >= 1.01
|
||||
|
|
@ -23,12 +24,14 @@ executables suffer no memory overhead or other drawbacks.
|
|||
%prep
|
||||
%setup -q -n %{name}-%{version}-src
|
||||
sed -i -e 's/ -O2/ /' -e 's/ -Werror//' src/Makefile
|
||||
mkdir lzma465
|
||||
tar xfj ../../SOURCES/lzma465.tar.bz2 -C lzma465
|
||||
|
||||
%patch0 -p0
|
||||
#%patch0 -p0
|
||||
|
||||
%build
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS" # export, not to make so it won't trump all
|
||||
make %{?_smp_mflags} -C src
|
||||
UPX_LZMA_VERSION=0x465 UPX_LZMADIR=../lzma465 make %{?_smp_mflags} -C src
|
||||
make -C doc
|
||||
|
||||
|
||||
|
|
@ -50,6 +53,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 08 2010 Jon Ciesla <limb@jcomserv.net> - 3.04-2
|
||||
- LZMA fixes by John Reiser (jreiser@bitwagon.com) BZ 501636.
|
||||
|
||||
* Mon Nov 16 2009 Jon Ciesla <limb@jcomserv.net> - 3.04-1
|
||||
- 3.04.
|
||||
- Stict prototype patch upstreamed.
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.03-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue