Accepting request 587456 from devel:tools:compiler

- Modernise spec file with spec-cleaner
- Update dependencies
- Dropn not needed postun calls

OBS-URL: https://build.opensuse.org/request/show/587456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yasm?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2018-03-16 09:34:11 +00:00 committed by Git OBS Bridge
commit 58095de1fd
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 Wed Nov 1 13:45:33 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package yasm # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,14 +20,15 @@ Name: yasm
Version: 1.3.0 Version: 1.3.0
Release: 0 Release: 0
Summary: A complete rewrite of the NASM assembler 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 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 Source: http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
Patch0: %{name}-no-build-date.patch Patch0: %{name}-no-build-date.patch
Patch1: %{name}-no-rpm-opt-flags.patch Patch1: %{name}-no-rpm-opt-flags.patch
Patch2: yasm-re2c-nogendate.patch Patch2: yasm-re2c-nogendate.patch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: xmlto
%description %description
YASM is a complete rewrite of the NASM assembler. It is designed from YASM is a complete rewrite of the NASM assembler. It is designed from
@ -59,24 +60,21 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%check %check
# 2 win64 test crash but we don't care # 2 win64 test crash but we don't care
make %{?_smp_mflags} check || true make %{?_smp_mflags} check || true
%files %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 %doc ABOUT-NLS AUTHORS
%{_bindir}/vsyasm %{_bindir}/vsyasm
%{_bindir}/yasm %{_bindir}/yasm
%{_bindir}/ytasm %{_bindir}/ytasm
%{_mandir}/man1/yasm.1%{ext_man} %{_mandir}/man1/yasm.1%{?ext_man}
%{_mandir}/man7/yasm_arch.7%{ext_man} %{_mandir}/man7/yasm_arch.7%{?ext_man}
%{_mandir}/man7/yasm_dbgfmts.7%{ext_man} %{_mandir}/man7/yasm_dbgfmts.7%{?ext_man}
%{_mandir}/man7/yasm_objfmts.7%{ext_man} %{_mandir}/man7/yasm_objfmts.7%{?ext_man}
%{_mandir}/man7/yasm_parsers.7%{ext_man} %{_mandir}/man7/yasm_parsers.7%{?ext_man}
%files devel %files devel
%{_includedir}/* %{_includedir}/*