Accepting request 942145 from home:adkorte:branches:Archiving

- Extract source archive with bsdtar instead of p7zip
- Fixup line breaks of documentation files

OBS-URL: https://build.opensuse.org/request/show/942145
OBS-URL: https://build.opensuse.org/package/show/Archiving/7zip?expand=0&rev=4
This commit is contained in:
Danilo Spinella
2021-12-24 09:38:09 +00:00
committed by Git OBS Bridge
parent 8e29c84e2e
commit 7ed9858ac3
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 22 20:48:46 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
- Extract source archive with bsdtar instead of p7zip
- Fixup line breaks of documentation files
-------------------------------------------------------------------
Tue Dec 21 21:13:09 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>

View File

@@ -30,15 +30,17 @@ Source: 7z%{stripped_version}-src.7z
Patch0: remove-rar-handler.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: p7zip
BuildRequires: bsdtar
BuildRequires: dos2unix
%description
This package contains the 7z command line utility for archiving and
extracting various formats.
%prep
7zr x %{SOURCE0}
bsdtar --extract --file %{SOURCE0}
%patch0 -p1
dos2unix DOC/*.txt
# Remove -Werror to make build succeed
sed -i 's/-Werror//' CPP/7zip/7zip_gcc.mak