yasm/yasm.spec
liningjie 6931a7e32a fix CVE-2023-37732
(cherry picked from commit 2a1f3ce70365bbc6797f43073d914bb91f86e756)
2023-08-15 11:03:21 +08:00

55 lines
1.2 KiB
RPMSpec

Name: yasm
Version: 1.3.0
Release: 10
Summary: NASM assembler
License: BSD
URL: http://yasm.tortall.net/
Source0: http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
BuildRequires: gcc bison byacc gettext-devel xmlto
Provides: bundled(md5-plumb)
Patch1: CVE-2023-37732.patch
%description
Yasm is a complete rewrite of the NASM assembler under the “new” BSD License.
%package devel
Summary: The libraries and headers for yasm
Requires: yasm = %{version}-%{release}
Provides: yasm-static = %{version}-%{release} bundled(md5-plumb)
%description devel
The package contains the libraries and headers necessary for the yasm Modular Assembler.
%package_help
%prep
%autosetup -p1
%build
%configure
%make_build
%install
rm -rf %{buildroot}
%make_install
%files
%license Artistic.txt BSD.txt COPYING GNU_GPL-2.0 GNU_LGPL-2.0
%doc AUTHORS
%{_bindir}/*
%files devel
%{_includedir}/*
%{_libdir}/libyasm.a
%files help
%{_mandir}/*
%changelog
* Fri Aug 11 2023 liningjie <liningjie@xfusion.com> - 1.3.0-10
- fix CVE-2023-37732
* Mon Jan 6 2020 qinjian <qinjian18@huawei.com> - 1.3.0-9
- Package init