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
This commit is contained in:
Ismail Dönmez 2013-04-05 14:07:13 +00:00 committed by Git OBS Bridge
parent 0fd4f4ba96
commit b1fedea887
2 changed files with 13 additions and 6 deletions

View File

@ -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

View File

@ -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/*