From ebe3ec2e4bfe1ab474030fbd95c21dc7b3db14ed0bc1279430490238050e34aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sun, 24 Jan 2016 16:15:20 +0000 Subject: [PATCH] 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 --- gifsicle.changes | 6 ++++++ gifsicle.spec | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gifsicle.changes b/gifsicle.changes index e3be3f0..7cfb991 100644 --- a/gifsicle.changes +++ b/gifsicle.changes @@ -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) diff --git a/gifsicle.spec b/gifsicle.spec index 2b2c4c8..ff25468 100644 --- a/gifsicle.spec +++ b/gifsicle.spec @@ -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