Hello community, here is the log from the commit of package lbdb for openSUSE:Factory checked in at 2015-12-16 17:42:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lbdb (Old) and /work/SRC/openSUSE:Factory/.lbdb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lbdb" Changes: -------- --- /work/SRC/openSUSE:Factory/lbdb/lbdb.changes 2015-02-05 11:01:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lbdb.new/lbdb.changes 2015-12-16 17:42:21.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Dec 9 12:57:52 UTC 2015 - mpluskal@suse.com + +- Cleanup spec file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lbdb.spec ++++++ --- /var/tmp/diff_new_pack.LWQX9t/_old 2015-12-16 17:42:22.000000000 +0100 +++ /var/tmp/diff_new_pack.LWQX9t/_new 2015-12-16 17:42:22.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package lbdb # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -17,18 +17,18 @@ Name: lbdb +Version: 0.39 +Release: 0 Summary: Address Database for mutt License: GPL-2.0+ Group: Productivity/Networking/Email/Utilities -Version: 0.39 -Release: 0 Url: http://www.spinnaker.de/lbdb/ Source: http://www.spinnaker.de/debian/lbdb_%{version}.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch: lbdb.rc.dif +Patch0: lbdb.rc.dif Patch2: lbdb-hostname.diff -Suggests: perl(Net::LDAP) Suggests: perl(Getopt::Long) +Suggests: perl(Net::LDAP) +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Little Brother's Database (lbdb) consists of a set of small tools @@ -42,33 +42,38 @@ To use the database in mutt, put the following line into your .muttrc: -set query_command="lbdbq %s" +set query_command="lbdbq %{s}" %prep -%setup -n lbdb-%{version} -%patch -p0 +%setup -q -n lbdb-%{version} +%patch0 %patch2 -p1 %build -CFLAGS="%{optflags} -fno-strict-aliasing" \ - PGP=/usr/bin/pgp PGPK=/usr/bin/pgpk GPG=/usr/bin/gpg \ - FINGER=/usr/bin/finger ABOOK=/usr/bin/abook \ - ADDR_EMAIL=/usr/bin/addr-email SH=/bin/sh \ - YPCAT=/usr/bin/ypcat MAWK=/usr/bin/awk \ - ./configure --prefix=%{_prefix} \ - --sysconfdir=%{_sysconfdir} \ - --mandir=%{_mandir} \ +export \ + CFLAGS="%{optflags} -fno-strict-aliasing" \ + PGP="%{_bindir}/pgp" \ + PGPK="%{_bindir}/pgpk" \ + GPG="%{_bindir}/gpg" \ + FINGER="%{_bindir}/finger" \ + ABOOK="%{_bindir}/abook" \ + ADDR_EMAIL="%{_bindir}/addr-email" \ + SH="/bin/sh" \ + YPCAT="%{_bindir}/ypcat" \ + MAWK="%{_bindir}/awk" +%configure \ --libdir=%{_libdir}/lbdb \ --enable-lbdb-dotlock -make +make %{?_smp_mflags} %install -mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir} -BUILD_ROOT=${RPM_BUILD_ROOT} make \ - prefix=${RPM_BUILD_ROOT}%{_prefix} \ - sysconfdir=${RPM_BUILD_ROOT}%{_sysconfdir} \ - mandir=${RPM_BUILD_ROOT}%{_mandir} \ - libdir=${RPM_BUILD_ROOT}%{_libdir}/lbdb \ +mkdir -p %{buildroot}%{_sysconfdir} +make \ + prefix=%{buildroot}%{_prefix} \ + bindir=%{buildroot}%{_bindir} \ + sysconfdir=%{buildroot}%{_sysconfdir} \ + mandir=%{buildroot}%{_mandir} \ + libdir=%{buildroot}%{_libdir}/lbdb \ install %files