fix pkgconfgpath for 64bit archs [release 2.4.2-3mamba;Sat Jan 14 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:35:06 +01:00
parent 6e865d3cbc
commit 03a188ec32

View File

@ -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 <silvan.calarco@mambasoft.it> 2.4.2-3mamba
- fix pkgconfgpath for 64bit archs
* Wed Jun 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-2mamba
- rebuilt with --with-tls=gnutls to fix web interface