From 03a188ec32bfd674bf9b0e2b367d5a33cfc7c199 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:35:06 +0100 Subject: [PATCH] fix pkgconfgpath for 64bit archs [release 2.4.2-3mamba;Sat Jan 14 2023] --- cups.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/cups.spec b/cups.spec index 08f4a4b..ad55070 100644 --- a/cups.spec +++ b/cups.spec @@ -7,7 +7,7 @@ Name: cups Version: 2.4.2 -Release: 2mamba +Release: 3mamba Summary: Common UNIX Printing System Group: System/Spooling Vendor: openmamba @@ -29,10 +29,9 @@ Patch3: cups-1.7.0-statedir.patch Patch4: cups-2.2.8-fix-balidation-rejecting-all-names.patch License: GPL ## AUTOBUILDREQ-BEGIN -#ld-linux.so.3(GLIBC_2.4): .so link not found -#ld-linux.so.3: .so link not found BuildRequires: glibc-devel BuildRequires: libacl-devel +BuildRequires: libapparmor-devel BuildRequires: libavahi-devel BuildRequires: libdbus-devel BuildRequires: libgcc @@ -87,7 +86,8 @@ autoconf --enable-static \ --with-icondir=%{_datadir}/icons \ --without-xinetd \ - --with-tls=gnutls + --with-tls=gnutls \ + --with-pkgconfpath=%{_libdir}/pkgconfig # --with-cups-user=lpadmin \ # --with-cups-group=lpadmin @@ -96,7 +96,8 @@ autoconf %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%makeinstall BUILDROOT=%{buildroot} CUPS_USER=root CUPS_GROUP=root +%makeinstall BUILDROOT=%{buildroot} \ + CUPS_USER=root CUPS_GROUP=root install -D %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/cups install -d %{buildroot}/var/log/cups @@ -293,10 +294,13 @@ fi %{_libdir}/libcups.so %{_libdir}/libcupsimage.a %{_libdir}/libcupsimage.so -%{_prefix}/lib/pkgconfig/cups.pc +%{_libdir}/pkgconfig/cups.pc #%doc CHANGES.txt README.txt %changelog +* Sat Jan 14 2023 Silvan Calarco 2.4.2-3mamba +- fix pkgconfgpath for 64bit archs + * Wed Jun 22 2022 Silvan Calarco 2.4.2-2mamba - rebuilt with --with-tls=gnutls to fix web interface