Updated version to 3.95

This commit is contained in:
Александр, Данилов 2018-10-05 04:23:32 +03:00
parent 1b45831212
commit 4f684aa774

View file

@ -1,11 +1,12 @@
Summary: The Ultimate Packer for eXecutables Summary: The Ultimate Packer for eXecutables
Name: upx Name: upx
Version: 3.91 Version: 3.95
Release: 6 Release: 1
License: GPLv2+ License: GPLv2+
Group: Archiving/Compression Group: Archiving/Compression
URL: http://upx.sourceforge.net/ URL: https://upx.github.io/
Source0: http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2 Source0: upx-%{version}.tar.gz
Source1: upx-lzma-sdk-%{version}.tar.gz
BuildRequires: ucl-devel BuildRequires: ucl-devel
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
@ -33,13 +34,16 @@ http://compression.ca/act-exepack.html
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%prep %prep
%setup -q -n %{name}-%{version}-src %setup -q -n %{name}-%{version}
tar xfz %{SOURCE1} --strip-components=1 -C src/lzma-sdk/
%build %build
# building the docs # building the docs
%make -C doc %make -C doc
export UCLDIR=%{_prefix} export UCLDIR=%{_prefix}
%make -C src CXXFLAGS="%{optflags} -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings" CXX="%__cxx" export CXX="%__cxx"
export CXXFLAGS="%{optflags}"
make %{?_smp_mflags} -C src
%install %install
install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_bindir}
@ -47,4 +51,3 @@ install -d %{buildroot}%{_mandir}/man1
install -m 755 src/upx.out %{buildroot}%{_bindir}/upx install -m 755 src/upx.out %{buildroot}%{_bindir}/upx
install -m 644 doc/upx.1 %{buildroot}%{_mandir}/man1/ install -m 644 doc/upx.1 %{buildroot}%{_mandir}/man1/