Accepting request 355573 from home:pluskalm:branches:graphics

- Use macro for configure
- Use correct obsoletes/provides

OBS-URL: https://build.opensuse.org/request/show/355573
OBS-URL: https://build.opensuse.org/package/show/graphics/gifsicle?expand=0&rev=3
This commit is contained in:
Ismail Dönmez 2016-01-24 16:15:20 +00:00 committed by Git OBS Bridge
parent f3feca0512
commit ebe3ec2e4b
2 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 24 14:39:33 UTC 2016 - mpluskal@suse.com
- Use macro for configure
- Use correct obsoletes/provides
-------------------------------------------------------------------
Fri Jan 22 16:01:36 CET 2016 - manfred99@gmx.ch
- update license indication in the spec file: it is GPL-2.0 (only)

View File

@ -24,8 +24,8 @@ License: GPL-2.0
Group: Productivity/Graphics/Other
Url: https://www.lcdf.org/gifsicle/
Source: https://www.lcdf.org/gifsicle/%{name}-%{version}.tar.gz
Conflicts: ungifsicle
Obsoletes: ungifsicle
Obsoletes: ungifsicle < %{version}
Provides: ungifsicle = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} == 1110
BuildRequires: xorg-x11-libX11
@ -59,14 +59,14 @@ GIF-manipulating software.
%setup -q
%build
./configure
make %{?_smp_mflags} CFLAGS="%{optflags}"
%configure
make %{?_smp_mflags}
%check
make check
%install
make install prefix=%{buildroot}%{_prefix}
make install DESTDIR=%{buildroot}
%files
%defattr(-,root,root)
@ -74,8 +74,8 @@ make install prefix=%{buildroot}%{_prefix}
%{_bindir}/gifdiff
%{_bindir}/gifsicle
%{_bindir}/gifview
%{_mandir}/man1/gifdiff.1.gz
%{_mandir}/man1/gifsicle.1.gz
%{_mandir}/man1/gifview.1.gz
%{_mandir}/man1/gifdiff.1%{ext_man}
%{_mandir}/man1/gifsicle.1%{ext_man}
%{_mandir}/man1/gifview.1%{ext_man}
%changelog