- Modernise spec file with spec-cleaner

- Update dependencies
- Dropn not needed postun calls

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/yasm?expand=0&rev=29
This commit is contained in:
Martin Pluskal 2018-03-15 09:55:15 +00:00 committed by Git OBS Bridge
parent c039d13495
commit cb298b07b5
2 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 15 09:53:41 UTC 2018 - mpluskal@suse.com
- Modernise spec file with spec-cleaner
- Update dependencies
- Dropn not needed postun calls
-------------------------------------------------------------------
Wed Nov 1 13:45:33 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package yasm
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,14 +20,15 @@ Name: yasm
Version: 1.3.0
Release: 0
Summary: A complete rewrite of the NASM assembler
License: Artistic-1.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0+ AND LGPL-2.0+
License: Artistic-1.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later
Group: Development/Languages/Other
Url: http://www.tortall.net/projects/yasm/
URL: http://www.tortall.net/projects/yasm/
Source: http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
Patch0: %{name}-no-build-date.patch
Patch1: %{name}-no-rpm-opt-flags.patch
Patch2: yasm-re2c-nogendate.patch
BuildRequires: python3-devel
BuildRequires: xmlto
%description
YASM is a complete rewrite of the NASM assembler. It is designed from
@ -59,24 +60,21 @@ make %{?_smp_mflags}
%install
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%check
# 2 win64 test crash but we don't care
make %{?_smp_mflags} check || true
%files
%doc Artistic.txt BSD.txt COPYING GNU_GPL-2.0 GNU_LGPL-2.0
%license COPYING Artistic.txt BSD.txt GNU_GPL-2.0 GNU_LGPL-2.0
%doc ABOUT-NLS AUTHORS
%{_bindir}/vsyasm
%{_bindir}/yasm
%{_bindir}/ytasm
%{_mandir}/man1/yasm.1%{ext_man}
%{_mandir}/man7/yasm_arch.7%{ext_man}
%{_mandir}/man7/yasm_dbgfmts.7%{ext_man}
%{_mandir}/man7/yasm_objfmts.7%{ext_man}
%{_mandir}/man7/yasm_parsers.7%{ext_man}
%{_mandir}/man1/yasm.1%{?ext_man}
%{_mandir}/man7/yasm_arch.7%{?ext_man}
%{_mandir}/man7/yasm_dbgfmts.7%{?ext_man}
%{_mandir}/man7/yasm_objfmts.7%{?ext_man}
%{_mandir}/man7/yasm_parsers.7%{?ext_man}
%files devel
%{_includedir}/*