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