From b1fedea887f1cf682e8ea1dd49d123b8d801187a14a8f0e633312a0c2d6054db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 5 Apr 2013 14:07:13 +0000 Subject: [PATCH] Accepting request 162708 from home:namtrac:bugfix - Cleanup spec file - Add Source URL, see https://en.opensuse.org/SourceUrls - Remove CHANGELOG, NEWS, README as those are empty. OBS-URL: https://build.opensuse.org/request/show/162708 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/yasm?expand=0&rev=18 --- yasm.changes | 7 +++++++ yasm.spec | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/yasm.changes b/yasm.changes index 933ae4d..9231f06 100644 --- a/yasm.changes +++ b/yasm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Apr 5 07:53:51 UTC 2013 - idonmez@suse.com + +- Cleanup spec file +- Add Source URL, see https://en.opensuse.org/SourceUrls +- Remove CHANGELOG, NEWS, README as those are empty. + ------------------------------------------------------------------- Wed Dec 19 12:28:41 UTC 2012 - idonmez@suse.com diff --git a/yasm.spec b/yasm.spec index 653cd94..3527348 100644 --- a/yasm.spec +++ b/yasm.spec @@ -1,7 +1,7 @@ # # spec file for package yasm # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -23,7 +23,7 @@ Group: Development/Languages/Other Version: 1.2.0 Release: 0 Url: http://www.tortall.net/projects/yasm/ -Source: %{name}-%{version}.tar.gz +Source: http://www.tortall.net/projects/yasm/releases/%{name}-%{version}.tar.gz Patch0: %{name}-no-build-date.patch Patch1: %{name}-no-rpm-opt-flags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -54,12 +54,12 @@ libyasm. %build export CFLAGS="%{optflags}" %configure \ - --with-gnu-ld \ - --enable-python + --with-gnu-ld \ + --enable-python make %{?_smp_mflags} %install -%makeinstall +make DESTDIR=%{buildroot} install %post -p /sbin/ldconfig @@ -72,7 +72,7 @@ make check || true %files %defattr(-,root,root) %doc Artistic.txt BSD.txt COPYING GNU_GPL-2.0 GNU_LGPL-2.0 -%doc ABOUT-NLS AUTHORS ChangeLog NEWS README +%doc ABOUT-NLS AUTHORS /usr/bin/* %_mandir/man7/* %_mandir/man1/*