Accepting request 287481 from home:pluskalm:branches:devel:tools:compiler
- Build doc package as noarch - Use fdupes to remove duplicates - Update to 2.11.08 - Changes for 2.11.07 * Fix -MD option handling, which was rather broken in previous OBS-URL: https://build.opensuse.org/request/show/287481 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
a5f9eafe0e
commit
252e182ad1
@@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
Name: nasm
|
||||
Version: 2.11.06
|
||||
Version: 2.11.08
|
||||
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: fdupes
|
||||
BuildRequires: makeinfo
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -43,6 +44,7 @@ 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.
|
||||
@@ -73,6 +75,7 @@ install -m 644 rdoff/README rdoff/doc/* \
|
||||
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
|
||||
|
Reference in New Issue
Block a user