update to 3.95 [release 3.95-1mamba;Sun Feb 17 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 18:50:35 +01:00
parent 21b9025a29
commit 7507ee9982

View File

@ -1,7 +1,7 @@
%define lzma_api_version 912 %define lzma_api_version 912
%define lzma_version 9.12 %define lzma_version 9.12
Name: upx Name: upx
Version: 3.91 Version: 3.95
Release: 1mamba Release: 1mamba
Summary: An executable packer for several different executable formats Summary: An executable packer for several different executable formats
Group: Applications/Archiving Group: Applications/Archiving
@ -9,7 +9,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://upx.sourceforge.net URL: http://upx.sourceforge.net
Source0: http://upx.sourceforge.net/download/upx-%{version}-src.tar.bz2 Source0: http://upx.sourceforge.net/download/upx-%{version}-src.tar.xz
Source1: http://downloads.sourceforge.net/project/sevenzip/LZMA%20SDK/%{lzma_version}/lzma%{lzma_api_version}.tar.bz2 Source1: http://downloads.sourceforge.net/project/sevenzip/LZMA%20SDK/%{lzma_version}/lzma%{lzma_api_version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -25,7 +25,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
UPX is a free, portable, extendable, high-performance executable packer for several different executable formats. It achieves an excellent compression ratio and offers very fast decompression. Your executables suffer no memory overhead or other drawbacks for most of the formats supported, because of in-place decompression. UPX is a free, portable, extendable, high-performance executable packer for several different executable formats. It achieves an excellent compression ratio and offers very fast decompression. Your executables suffer no memory overhead or other drawbacks for most of the formats supported, because of in-place decompression.
%prep %prep
%setup -q -n %{name}-%{version}-src %setup -q -n %{name}-%{version}-src
sed -i -e 's/ -O2/ /' -e 's/ -Werror//' src/Makefile sed -i -e 's/ -O2/ /' -e 's/ -Werror//' src/Makefile
@ -35,8 +34,8 @@ tar xfj %{SOURCE1} -C lzma%{lzma_api_version}
%build %build
export CXXFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS"
export CXX=g++ export CXX=g++
UPX_LZMA_VERSION=0x%{lzma_api_version} UPX_LZMADIR=../lzma%{lzma_api_version} %make -C src UPX_LZMA_VERSION=0x%{lzma_api_version} UPX_LZMADIR=../lzma%{lzma_api_version} %make -C src CHECK_WHITESPACE=
make -C doc make -C doc CHECK_WHITESPACE=
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -56,6 +55,9 @@ install -pm 644 doc/upx.1 %{buildroot}%{_mandir}/man1/
#%doc BUGS NEWS README README.1ST README.SRC THANKS TODO #%doc BUGS NEWS README README.1ST README.SRC THANKS TODO
%changelog %changelog
* Sun Feb 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.95-1mamba
- update to 3.95
* Sat Jan 04 2014 Automatic Build System <autodist@mambasoft.it> 3.91-1mamba * Sat Jan 04 2014 Automatic Build System <autodist@mambasoft.it> 3.91-1mamba
- automatic version update by autodist - automatic version update by autodist