From d8ef1bfc69a1844576d98086c6d744795494ed1f4cdf49abc1df579f1a6a0090 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 26 Apr 2023 10:42:28 +0000 Subject: [PATCH] Accepting request 1082907 from home:jengelh:branches:X11:XOrg - Update specfile constructs; run fdupes OBS-URL: https://build.opensuse.org/request/show/1082907 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXevie?expand=0&rev=13 --- libXevie.changes | 5 +++++ libXevie.spec | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/libXevie.changes b/libXevie.changes index d1b7185..1d56582 100644 --- a/libXevie.changes +++ b/libXevie.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 26 08:34:24 UTC 2023 - Jan Engelhardt + +- Update specfile constructs; run fdupes + ------------------------------------------------------------------- Tue Apr 25 14:22:03 UTC 2023 - Frederic Crozat diff --git a/libXevie.spec b/libXevie.spec index c569678..edb5695 100644 --- a/libXevie.spec +++ b/libXevie.spec @@ -29,8 +29,8 @@ URL: http://wiki.freedesktop.org/wiki/Software/XEvIE #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXevie/ Source: http://xorg.freedesktop.org/archive/individual/lib/%name-%version.tar.bz2 Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: pkgconfig(evieproto) BuildRequires: pkgconfig(x11) @@ -73,26 +73,25 @@ This package contains the development headers for the library found in %lname. %prep -%setup -q +%autosetup %build %configure --disable-static -make %{?_smp_mflags} +%make_build %install -make install DESTDIR="%buildroot" +%make_install rm -f "%buildroot/%_libdir"/*.la +%fdupes %buildroot/%_prefix %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libXevie.so.1* %files devel -%defattr(-,root,root) %_includedir/X11/* %_libdir/libXevie.so %_libdir/pkgconfig/xevie.pc