- Update to version 2.13.01:

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=29
This commit is contained in:
Martin Pluskal 2017-05-23 11:32:48 +00:00 committed by Git OBS Bridge
parent 9cd7234d52
commit 655310f4f7
4 changed files with 45 additions and 57 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c866b60c0b1c4ebc715205d007b4640ff4e36af637c9a7deb87b2900e544321
size 782444

3
nasm-2.13.01.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa0213008f0433ecbe07bb628506a5c4be8079be20fc3532a5031fd639db9a5e
size 800244

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Tue May 23 11:14:56 UTC 2017 - mpluskal@suse.com
- Update to version 2.13.01:
* Fix incorrect output for some types of FAR or SEG references in
the obj output format, and possibly other 16-bit output formats.
* Fix the address in the list file for an instruction containing
a TIMES directive.
* Fix error with TIMES used together with an instruction which
can vary in size, e.g. JMP.
* Fix breakage on some uses of the DZ pseudo-op.
- Changes for 2.13.00:
* Support the official forms of the UD0 and UD1 instructions.
* Allow self-segment-relative expressions in immediates and
displacements
* Handle a 64-bit origin in NDISASM.
* NASM can now generate sparse output files for relevant output
formats, if the underlying operating system supports them.
* Fix a number of bugs related to AVX-512 decorators.
* Fix the {z} decorator on AVX-512 VMOVDQ* instructions.
* Add new warnings for certain dangerous constructs which never
ought to have been allowed.
* Fix the EVEX (AVX-512) versions of the VPBROADCAST, VPEXTR, and
VPINSR instructions.
* Support contracted forms of additional instructions.
* Fix Codeview malformed compiler version record.
* Add the CLWB and PCOMMIT instructions.
* Add the %pragma preprocessor directive for soft-error
directives.
* Add the RDPID instruction.
- Drop doc subpackage
-------------------------------------------------------------------
Fri Jul 8 08:45:29 UTC 2016 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package nasm
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -17,76 +17,37 @@
Name: nasm
Version: 2.12.02
Version: 2.13.01
Release: 0
Summary: Netwide Assembler (An x86 Assembler)
License: BSD-2-Clause
Group: Development/Languages/Other
Url: http://www.nasm.us/
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
BuildRequires: asciidoc
BuildRequires: fdupes
BuildRequires: groff
BuildRequires: makeinfo
BuildRequires: xmlto
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
NASM is a prototype general-purpose x86 assembler. It can currently
output several binary formats, including ELF, a.out, Win32, and OS/2.
Read the licence agreement in %{_docdir}/nasm/Licence.
NASM is a prototype general-purpose x86 assembler. It can currently output
several binary formats, including ELF, a.out, Win32, and OS/2.
%prep
%setup -q
%package doc
Summary: Documentation for Nasm
License: LGPL-2.1+
Group: Development/Languages/Other
Requires(post): info
Requires(preun): info
Provides: nasm:%{_docdir}/nasm/nasmdoc.pdf
BuildArch: noarch
%description doc
This package contains the documentation for Nasm.
%build
touch -r ./ver.c ./ver.c.stamp
touch -r ./version.h ./version.h.stamp
TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
sed -i "s/__DATE__/\"$TS\"/g" ver.c
touch -r ./ver.c.stamp ./ver.c
sed -i "s/__DATE__/\"$TS\"/g" version.h
touch -r ./version.h.stamp ./version.h
%configure
make %{?_smp_mflags} all
make %{?_smp_mflags} -C doc html info nasmdoc.ps nasmdoc.txt
%install
install -d -m 755 %{buildroot}%{_prefix}/bin
install -d -m 755 %{buildroot}/%{_mandir}/man1
install -d -m 755 %{buildroot}/%{_docdir}/nasm
install -d -m 755 %{buildroot}/%{_docdir}/nasm/rdoff
install -d -m 755 %{buildroot}/%{_docdir}/nasm/html
install -d -m 755 %{buildroot}/%{_infodir}
make INSTALLROOT=%{buildroot} install
make INSTALLROOT=%{buildroot} rdf_install
install -m 644 AUTHORS CHANGES ChangeLog LICENSE TODO README doc/*.txt \
%{buildroot}/%{_docdir}/nasm
install -m 644 rdoff/README rdoff/doc/* \
%{buildroot}/%{_docdir}/nasm/rdoff
install -m 644 doc/html/* %{buildroot}%{_docdir}/nasm/html
install -m 644 ndisasm.1 nasm.1 rdoff/*.1 %{buildroot}%{_mandir}/man1
install -m 644 doc/info/* %{buildroot}%{_infodir}
%fdupes -s %{buildroot}%
%post doc
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%preun doc
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
make INSTALLROOT=%{buildroot} install rdf_install
%fdupes -s %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS CHANGES ChangeLog LICENSE README
%{_bindir}/ldrdf
%{_bindir}/nasm
%{_bindir}/ndisasm
@ -110,9 +71,4 @@ install -m 644 doc/info/* %{buildroot}%{_infodir}
%{_mandir}/man1/rdflib.1%{ext_man}
%{_mandir}/man1/rdx.1%{ext_man}
%files doc
%defattr(-,root,root)
%doc %{_docdir}/nasm
%{_infodir}/nasm*
%changelog