Hello community, here is the log from the commit of package libfakekey for openSUSE:Factory checked in at 2015-06-30 10:18:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfakekey (Old) and /work/SRC/openSUSE:Factory/.libfakekey.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libfakekey" Changes: -------- --- /work/SRC/openSUSE:Factory/libfakekey/libfakekey.changes 2013-12-18 19:20:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libfakekey.new/libfakekey.changes 2015-06-30 10:18:37.000000000 +0200 @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Tue May 5 13:47:23 UTC 2015 - sor.alexei@meowr.ru + +- Spec cleanup. + +------------------------------------------------------------------- @@ -14 +19,0 @@ - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfakekey.spec ++++++ --- /var/tmp/diff_new_pack.xlrbWc/_old 2015-06-30 10:18:38.000000000 +0200 +++ /var/tmp/diff_new_pack.xlrbWc/_new 2015-06-30 10:18:38.000000000 +0200 @@ -1,6 +1,7 @@ -# spec file for libfakekey # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# spec file for package libfakekey +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,44 +13,43 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%define lname libfakekey0 Name: libfakekey -%define _name libfakekey0 Version: 0.1 Release: 0 Summary: Library for converting characters to X key-presses -Group: System/GUI/Other License: LGPL-2.1+ -Url: http://projects.o-hand.com/matchbox/ -Source0: http://downloads.yoctoproject.org/releases/matchbox/libfakekey/0.1/%{name}-%{version}.tar.bz2 - -# PATCH-FIX-OPENSUSE 0001-add-return.patch nmo.marques@gmail.com -# add missing return +Group: System/GUI/Other +Url: https://yoctoproject.org/tools-resources/projects/matchbox +Source: http://downloads.yoctoproject.org/releases/matchbox/%{name}/%{version}/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM 0001-add-return.patch nmo.marques@gmail.com -- Add missing return. Patch0: 0001-add-return.patch - -BuildRequires: pkgconfig +BuildRequires: pkg-config BuildRequires: pkgconfig(xtst) %description libfakekey is a simple library for converting UTF-8 characters into 'fake' X key-presses. -%package -n %{_name} +%package -n %{lname} Summary: Library for converting characters to X key-presses Group: System/Libraries -%description -n %{_name} +%description -n %{lname} libfakekey is a simple library for converting UTF-8 characters into 'fake' X key-presses. %package devel Summary: Development files for %{name} Group: Development/Libraries/Other -Requires: %{_name} = %{version}-%{release} +Requires: %{lname} = %{version} %description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. +The libfakekey-devel package contains libraries and header files for +developing applications that use libfakekey. %prep %setup -q @@ -60,20 +60,20 @@ make %{?_smp_mflags} AM_LDFLAGS=-lX11 %install -make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_libdir}/libfakekey.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print -%post -n %{_name} -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig -%postun -n %{_name} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%files -n %{_name} -%defattr(-,root,root,-) +%files -n %{lname} +%defattr(-,root,root) %doc COPYING %{_libdir}/libfakekey.so.* %files devel -%defattr(-,root,root,-) +%defattr(-,root,root) %{_includedir}/fakekey/ %{_libdir}/libfakekey.so %{_libdir}/pkgconfig/libfakekey.pc