- Update to version 2.14.02:
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=40
This commit is contained in:
committed by
Git OBS Bridge
parent
46771d9353
commit
227e469137
19
nasm.spec
19
nasm.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package nasm
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -12,19 +12,18 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: nasm
|
||||
Version: 2.13.03
|
||||
Version: 2.14.02
|
||||
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
|
||||
Patch1: 9f45a77f4.patch
|
||||
BuildRequires: fdupes
|
||||
|
||||
%description
|
||||
@@ -32,19 +31,15 @@ NASM is a prototype general-purpose x86 assembler. It can currently output
|
||||
several binary formats, including ELF, a.out, Win32, and OS/2.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
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" version.h
|
||||
touch -r ./version.h.stamp ./version.h
|
||||
|
||||
%configure
|
||||
%configure \
|
||||
--enable-lto
|
||||
make %{?_smp_mflags} all
|
||||
|
||||
%install
|
||||
make INSTALLROOT=%{buildroot} install rdf_install
|
||||
%make_install rdf_install
|
||||
%fdupes %{buildroot}%{_mandir}
|
||||
|
||||
%check
|
||||
|
Reference in New Issue
Block a user