[packages/ucspi-tcp] - adapterized

baggins baggins at pld-linux.org
Mon Aug 24 01:55:53 CEST 2026


commit 05089607cf2b3bc4b0fbe2187b5ef5c8657423be
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Aug 24 01:55:31 2026 +0200

    - adapterized

 ucspi-tcp.spec | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/ucspi-tcp.spec b/ucspi-tcp.spec
index bb7b520..4ea03b5 100644
--- a/ucspi-tcp.spec
+++ b/ucspi-tcp.spec
@@ -10,7 +10,7 @@ Release:	10
 Group:		Networking/Daemons
 # http://cr.yp.to/distributors.html
 License:	Public Domain
-Source0:	http://cr.yp.to/ucspi-tcp/%{name}-%{version}.tar.gz
+Source0:	https://cr.yp.to/ucspi-tcp/%{name}-%{version}.tar.gz
 # Source0-md5:	39b619147db54687c4a583a7a94c9163
 Source1:	ftp://ftp.innominate.org/pub/pape/djb/%{name}-%{version}-man.tar.gz
 # Source1-md5:	693be34da89cd5244cef8ae30b4dc6a4
@@ -18,7 +18,7 @@ Source2:	daemontools-tcprules
 Patch0:		%{name}-%{version}-mysql.patch.pld
 Patch1:		%{name}-glibc.patch
 Patch2:		http://lamer.maexotic.de/maex/creative/software/ucspi-tcp/0.88-recordio/recordio.diff
-URL:		http://cr.yp.to/ucspi-tcp.html
+URL:		https://cr.yp.to/ucspi-tcp.html
 %{?with_mysql:BuildRequires:	mysql-devel}
 # make and stat from coreutils are for building tcprules
 Requires:	coreutils
@@ -27,7 +27,7 @@ Conflicts:	daemontools < 0.76-8
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # qmail.spec uses this dir
-%define 	tcprules 	/etc/tcprules.d
+%define		tcprules	/etc/tcprules.d
 
 %description
 UNIX Client/Server Program Interface - something like inetd with
@@ -39,8 +39,8 @@ inetd z małymi dodatkami.
 
 %prep
 %setup -q -a1
-mv ucspi-tcp-%{version}-man man
-%{?with_mysql:%patch0}
+%{__mv} ucspi-tcp-%{version}-man man
+%{?with_mysql:%patch -P0 -p0}
 %patch -P1 -p0
 %patch -P2 -p1
 
@@ -53,14 +53,14 @@ echo "%{_prefix}" > conf-home
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,3,5},%{tcprules}}
 
-install addcr argv0 auto-str date@ delcr finger@ fixcrio \
+cp -p addcr argv0 auto-str date@ delcr finger@ fixcrio \
 	http@ mconnect mconnect-io rblsmtpd recordio rts tcpcat \
 	tcpclient tcprules tcprulescheck tcpserver who@ \
 	$RPM_BUILD_ROOT%{_bindir}
 
-install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
-install %{SOURCE2} $RPM_BUILD_ROOT%{tcprules}/Makefile
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{tcprules}/Makefile
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ucspi-tcp.git/commitdiff/05089607cf2b3bc4b0fbe2187b5ef5c8657423be



More information about the pld-cvs-commit mailing list