Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
ef79c6f051 dist-git conversion 2010-07-29 16:19:27 +00:00
Bill Nottingham
898efa4cab Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:20 +00:00
Matthias Saou
728431aab3 Update EL branches to the latest version for initial builds. 2008-06-05 09:28:47 +00:00
Warren Togami
2e7bc06621 Initialize branch EL-4 for yasm 2007-02-26 19:31:06 +00:00
Matthias Saou
bb04729f14 Remove empty lines in the headers and switch scriplets to use ldconfig
directly.
2005-10-11 23:33:38 +00:00
6 changed files with 64 additions and 63 deletions

View file

@ -1 +0,0 @@
yasm-0.4.0.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
yasm-0.7.1.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: yasm
# $Id$
NAME := yasm
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +1 @@
2360e20c4e105ba95f4e9135a7901183 yasm-0.4.0.tar.gz
fce21d066f4d04e3ec7f9318e6446e2b yasm-0.7.1.tar.gz

View file

@ -1,13 +0,0 @@
--- yasm-0.4.0/modules/preprocs/nasm/genmacro.c~ 2004-10-31 03:55:54.000000000 +0000
+++ yasm-0.4.0/modules/preprocs/nasm/genmacro.c 2005-02-14 09:21:37.000000000 +0000
@@ -102,8 +102,8 @@
while (*strp == ' ' || *strp == '\t')
strp++;
len = strlen(strp);
- while (strp[len-1] == ' ' || strp[len-1] == '\t' ||
- strp[len-1] == '\n') {
+ while (len && (strp[len-1] == ' ' || strp[len-1] == '\t' ||
+ strp[len-1] == '\n')) {
strp[len-1] = '\0';
len--;
}

View file

@ -1,16 +1,15 @@
Summary: Complete rewrite of the NASM assembler
Name: yasm
Version: 0.4.0
Release: 2
License: BSD
Version: 0.7.1
Release: 1%{?dist}
# See COPYING for the detail, there is quite a lot!
License: BSD and (Artistic or GPLv2+ or LGPLv2+) and LGPLv2
Group: Development/Languages
URL: http://www.tortall.net/projects/yasm/
Source: http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
Patch0: yasm-0.4.0-genmacro.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: bison, byacc, xmlto, gettext-devel
%description
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
(some portions are under other licenses, see COPYING for details). It is
@ -23,7 +22,7 @@ overall design is an optimizer module.
%package devel
Summary: Header files and static libraries for yasm
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: %{name} = %{version}-%{release}
%description devel
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
@ -36,8 +35,8 @@ Install this package if you need to rebuild applications that use yasm.
%prep
%setup
%patch0 -p1
%setup -q
%build
%configure
@ -46,43 +45,79 @@ Install this package if you need to rebuild applications that use yasm.
%install
%{__rm} -rf %{buildroot}
%makeinstall
%{__make} install DESTDIR=%{buildroot}
%clean
%{__rm} -rf %{buildroot}
%post
/sbin/ldconfig
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, 0755)
%doc Artistic.txt AUTHORS BSD.txt ChangeLog COPYING GNU* NEWS README
%defattr(-,root,root,-)
%doc Artistic.txt AUTHORS BSD.txt COPYING GNU*
%{_bindir}/yasm
%{_libdir}/*.so.*
%dir %{_libdir}/yasm/
%{_libdir}/yasm/*.so
%{_mandir}/man1/yasm.1*
%files devel
%defattr(-, root, root, 0755)
%{_includedir}/libyasm.h
%defattr(-,root,root,-)
%{_includedir}/libyasm/
%{_libdir}/*.a
%exclude %{_libdir}/*.la
%{_libdir}/*.so
%dir %{_libdir}/yasm/
%{_libdir}/yasm/*.a
%exclude %{_libdir}/yasm/*.la
%{_mandir}/man7/yasm_arch.7*
%{_includedir}/libyasm-stdint.h
%{_includedir}/libyasm.h
%{_libdir}/libyasm.a
%{_mandir}/man7/yasm_*.7*
%changelog
* Tue May 20 2008 Matthias Saou <http://freshrpms.net/> 0.7.1-1
- Update to 0.7.1.
* Tue May 13 2008 Matthias Saou <http://freshrpms.net/> 0.7.0-1
- Update to 0.7.0.
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
- Autorebuild for GCC 4.3
* Mon Sep 24 2007 Matthias Saou <http://freshrpms.net/> 0.6.2-1
- Update to 0.6.2.
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 0.6.1-3
- Rebuild for new BuildID feature.
* Fri Aug 3 2007 Matthias Saou <http://freshrpms.net/> 0.6.1-2
- Update License field, it wasn't simply "BSD"...
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 0.6.1-1
- Update to 0.6.1.
* Sun Feb 25 2007 Matthias Saou <http://freshrpms.net/> 0.6.0-1
- Update to 0.6.0.
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.5.0-2
- FC6 rebuild.
- Require the same release in the devel sub-package.
* Fri Jul 14 2006 Matthias Saou <http://freshrpms.net/> 0.5.0-1
- Update to 0.5.0.
- Remove empty files from %%doc.
- There are no more shared libraries, only a static one, so update %%files.
* Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 0.4.0-6
- FC5 rebuild.
* Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 0.4.0-5
- Rebuild for new gcc/glibc.
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.4.0-4
- rebuild on all arches
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Mon Feb 14 2005 David Woodhouse <dwmw2@infradead.org> 0.4.0-2
- Fix corruption in genmacro