Accepting request 343173 from home:AndreasStieger:branches:Base:System

- verify the sha256 hash during build

OBS-URL: https://build.opensuse.org/request/show/343173
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=98
This commit is contained in:
OBS User mrdocs
2015-11-10 01:47:49 +00:00
committed by Git OBS Bridge
parent dc60338bc4
commit a0b406e843
2 changed files with 7 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ Source2: %{name}.desktop
Source3: %{name}.png
Source4: cmake.syntax
Source5: mc-rpmlintrc
Source6: %{name}-%{version}.sha256
Source6: http://ftp.midnight-commander.org/%{name}-%{version}.sha256
Patch0: mc-fix_lib_search_path.patch
Patch61: mc-extd-misc.patch
Patch62: mc-extd-video.patch
@@ -107,6 +107,7 @@ isoinfo (from mkisofs) or xorriso for the iso:// extension.
%lang_package
%prep
echo "`grep %{name}-%{version}.tar.xz %{SOURCE6} | head -n1 | cut -c1-64` %{SOURCE0}" | sha256sum -c
%setup -q
%patch0
%patch61