From 1b45831212e38f26e0f546d04fc6487ef9d74629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=2C?= =?UTF-8?q?=20=D0=94=D0=B0=D0=BD=D0=B8=D0=BB=D0=BE=D0=B2?= Date: Fri, 5 Oct 2018 04:23:04 +0300 Subject: [PATCH 1/2] add upx-3.95.tar.gz and upx-lzma-sdk-3.95.tar.gz --- .abf.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.abf.yml b/.abf.yml index c522926..04721f1 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,6 @@ -sources: +removed_sources: upx-3.91-src.tar.bz2: da962c0affb27eae11aa9b6fbd751c3699717b36 + +sources: + upx-3.95.tar.gz: a716f0311d11a4e727589f3435b27787b929feae + upx-lzma-sdk-3.95.tar.gz: c6a754f3c578d948cd5e7a5d5751e4589566f43d \ No newline at end of file From 4f684aa77429471089435d13bcddd7d885ad9616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=2C?= =?UTF-8?q?=20=D0=94=D0=B0=D0=BD=D0=B8=D0=BB=D0=BE=D0=B2?= Date: Fri, 5 Oct 2018 04:23:32 +0300 Subject: [PATCH 2/2] Updated version to 3.95 --- upx.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/upx.spec b/upx.spec index a1bafb0..0f48d69 100644 --- a/upx.spec +++ b/upx.spec @@ -1,11 +1,12 @@ Summary: The Ultimate Packer for eXecutables Name: upx -Version: 3.91 -Release: 6 +Version: 3.95 +Release: 1 License: GPLv2+ Group: Archiving/Compression -URL: http://upx.sourceforge.net/ -Source0: http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2 +URL: https://upx.github.io/ +Source0: upx-%{version}.tar.gz +Source1: upx-lzma-sdk-%{version}.tar.gz BuildRequires: ucl-devel BuildRequires: pkgconfig(zlib) @@ -33,13 +34,16 @@ http://compression.ca/act-exepack.html #---------------------------------------------------------------------------- %prep -%setup -q -n %{name}-%{version}-src +%setup -q -n %{name}-%{version} +tar xfz %{SOURCE1} --strip-components=1 -C src/lzma-sdk/ %build # building the docs %make -C doc 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 -d %{buildroot}%{_bindir} @@ -47,4 +51,3 @@ install -d %{buildroot}%{_mandir}/man1 install -m 755 src/upx.out %{buildroot}%{_bindir}/upx install -m 644 doc/upx.1 %{buildroot}%{_mandir}/man1/ -