Hello community, here is the log from the commit of package yasm for openSUSE:Factory checked in at 2012-08-13 18:27:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yasm (Old) and /work/SRC/openSUSE:Factory/.yasm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yasm", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/yasm/yasm.changes 2011-09-23 12:53:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yasm.new/yasm.changes 2012-08-13 18:27:13.000000000 +0200 @@ -1,0 +2,22 @@ +Sat Aug 11 19:01:36 UTC 2012 - [email protected] + +- Implement %check +- Fix license string + +------------------------------------------------------------------- +Mon Aug 6 13:53:00 UTC 2012 - [email protected] + +- update to 1.2.0 + * Add AVX2 instructions (rev 11 of Intel AVX reference) (#227). + * Allow 64-bit LFS/LGS/LSS. + * Improve LAR instruction support (#224). + * Default win64 .xdata to nobase, add support for “..imagebase” (#135). + * Fix “TIMES” relocation handling. + * Fix no-suffix push and pop in GAS mode (#212). + * See the bug tracker for a full list of bug fixes. +- rebase no-build-date patch +- add yasm-no-rpm-opt-flags patch +- fix License + * Artistic-1.0, BSD-2-Clause, BSD-3-Clause, GPL-2.0+, LGPL-2.0+ + +------------------------------------------------------------------- Old: ---- yasm-1.1.0.tar.bz2 New: ---- yasm-1.2.0.tar.gz yasm-no-rpm-opt-flags.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yasm.spec ++++++ --- /var/tmp/diff_new_pack.7k5xFS/_old 2012-08-13 18:27:21.000000000 +0200 +++ /var/tmp/diff_new_pack.7k5xFS/_new 2012-08-13 18:27:21.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package yasm (Version 1.1.0) +# spec file for package yasm # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: yasm -Url: http://www.tortall.net/projects/yasm/ -License: BSD-3-Clause -Group: Development/Languages/Other -AutoReqProv: on -Version: 1.1.0 -Release: 1 Summary: A complete rewrite of the NASM assembler -Source: yasm-%{version}.tar.bz2 +License: Artistic-1.0 and BSD-2-Clause and BSD-3-Clause and GPL-2.0+ and LGPL-2.0+ +Group: Development/Languages/Other +Version: 1.2.0 +Release: 0 +Url: http://www.tortall.net/projects/yasm/ +Source: %{name}-%{version}.tar.gz +Patch0: %{name}-no-build-date.patch +Patch1: %{name}-no-rpm-opt-flags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python -Patch: yasm-no-build-date.patch +BuildRequires: xmlto %description YASM is a complete rewrite of the NASM assembler. It is designed from @@ -38,52 +37,41 @@ Another primary module of the overall design is an optimizer module. Actually it supports ix86 and AMD64, next will be PowerPC - - -Authors: --------- - Peter Johnson <[email protected]> - %package devel -License: BSD-3-Clause Summary: YASM development package Group: Development/Languages/Other -AutoReqProv: on Requires: %{name} = %{version} %description devel This package includes everything needed to develop programs that use libyasm. - - -Authors: --------- - Peter Johnson <[email protected]> - %prep -%setup -q -%patch +%setup -q -n %{name}-%{version} +%patch0 +%patch1 %build export CFLAGS="%{optflags}" -%configure --prefix=/usr --with-gnu-ld --enable-python -make %{?jobs:-j%jobs} +%configure \ + --with-gnu-ld \ + --enable-python +make %{?_smp_mflags} %install -make DESTDIR=%buildroot install - -%clean -rm -rf %buildroot +%makeinstall %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%check +make check + %files %defattr(-,root,root) -%doc ABOUT-NLS AUTHORS Artistic.txt BSD.txt COPYING GNU_GPL-2.0 -%doc GNU_LGPL-2.0 +%doc Artistic.txt BSD.txt COPYING GNU_GPL-2.0 GNU_LGPL-2.0 +%doc ABOUT-NLS AUTHORS ChangeLog NEWS README /usr/bin/* %_mandir/man7/* %_mandir/man1/* ++++++ yasm-no-build-date.patch ++++++ --- /var/tmp/diff_new_pack.7k5xFS/_old 2012-08-13 18:27:21.000000000 +0200 +++ /var/tmp/diff_new_pack.7k5xFS/_new 2012-08-13 18:27:21.000000000 +0200 @@ -1,22 +1,24 @@ Index: frontends/tasm/tasm.c -================================================================================ ---- frontends/tasm/tasm.c +=================================================================== +--- frontends/tasm/tasm.c.orig +++ frontends/tasm/tasm.c -@@ -225,7 +225,6 @@ +@@ -224,7 +224,6 @@ static opt_option options[] = /* version message */ /*@observer@*/ static const char *version_msg[] = { - PACKAGE_NAME " " PACKAGE_INTVER "." PACKAGE_BUILD, + PACKAGE_STRING, - "Compiled on " __DATE__ ".", "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.", "Run yasm --license for licensing overview and summary." }; ---- frontends/yasm/yasm.c +Index: frontends/yasm/yasm.c +=================================================================== +--- frontends/yasm/yasm.c.orig +++ frontends/yasm/yasm.c -@@ -214,7 +214,6 @@ +@@ -213,7 +213,6 @@ static opt_option options[] = /* version message */ /*@observer@*/ static const char *version_msg[] = { - PACKAGE_NAME " " PACKAGE_INTVER "." PACKAGE_BUILD, + PACKAGE_STRING, - "Compiled on " __DATE__ ".", - "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.", + "Copyright (c) 2001-2011 Peter Johnson and other Yasm developers.", "Run yasm --license for licensing overview and summary." }; ++++++ yasm-no-rpm-opt-flags.patch ++++++ Index: Makefile.in =================================================================== --- Makefile.in.orig +++ Makefile.in @@ -4051,7 +4051,7 @@ version.mac: genversion$(EXEEXT) $(top_builddir)/genversion$(EXEEXT) $@ genversion.$(OBJEXT): modules/preprocs/nasm/genversion.c - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c + $(CC_FOR_BUILD) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c #EXTRA_DIST += modules/preprocs/gas/tests/rawpp_test.sh #EXTRA_DIST += modules/preprocs/gas/tests/longline.asm @@ -4078,7 +4078,7 @@ module.c: $(top_srcdir)/libyasm/module.i $(top_builddir)/genmodule$(EXEEXT) $(top_srcdir)/libyasm/module.in Makefile genmodule.$(OBJEXT): libyasm/genmodule.c - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f libyasm/genmodule.c || echo '$(srcdir)/'`libyasm/genmodule.c + $(CC_FOR_BUILD) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f libyasm/genmodule.c || echo '$(srcdir)/'`libyasm/genmodule.c @[email protected]: frontends/yasm/yasm.xml @BUILD_MAN_TRUE@ $(XMLTO) -o $(top_builddir) man $(srcdir)/frontends/yasm/yasm.xml @@ -4110,7 +4110,7 @@ install-exec-hook: python-install uninstall-hook: python-uninstall genstring.$(OBJEXT): genstring.c - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c + $(CC_FOR_BUILD) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. Index: Makefile.am =================================================================== --- Makefile.am.orig +++ Makefile.am @@ -158,5 +158,5 @@ genstring_LDADD = genstring.$(OBJEXT) genstring_LINK = $(CCLD_FOR_BUILD) -o $@ genstring.$(OBJEXT): genstring.c - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c + $(CC_FOR_BUILD) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c Index: libyasm/Makefile.inc =================================================================== --- libyasm/Makefile.inc.orig +++ libyasm/Makefile.inc @@ -41,7 +41,7 @@ genmodule_LDADD = genmodule.$(OBJEXT) genmodule_LINK = $(CCLD_FOR_BUILD) -o $@ genmodule.$(OBJEXT): libyasm/genmodule.c - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f libyasm/genmodule.c || echo '$(srcdir)/'`libyasm/genmodule.c + $(CC_FOR_BUILD) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f libyasm/genmodule.c || echo '$(srcdir)/'`libyasm/genmodule.c EXTRA_DIST += libyasm/module.in Index: modules/preprocs/nasm/Makefile.inc =================================================================== --- modules/preprocs/nasm/Makefile.inc.orig +++ modules/preprocs/nasm/Makefile.inc @@ -31,7 +31,7 @@ genversion_LDADD = genversion.$(OBJEXT) genversion_LINK = $(CCLD_FOR_BUILD) -o $@ genversion.$(OBJEXT): modules/preprocs/nasm/genversion.c - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c + $(CC_FOR_BUILD) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c EXTRA_DIST += modules/preprocs/nasm/tests/Makefile.inc -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
