public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/trafficserver] trafficserver-10.1.3-1: Don't install sysv initscript on systemd systems.
@ 2026-07-15 16:44 Jan-Frode Myklebust
  0 siblings, 0 replies; only message in thread
From: Jan-Frode Myklebust @ 2026-07-15 16:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/trafficserver
Branch : trafficserver-10.1.3-1
Commit : 8bd47371a0503c7fcdb2de4a24171e5e5d1190b6
Author : Jan-Frode Myklebust <janfrode@tanso.net>
Date   : 2012-03-21T23:44:40+01:00
Stats  : +6/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/trafficserver/c/8bd47371a0503c7fcdb2de4a24171e5e5d1190b6?branch=trafficserver-10.1.3-1

Log:
Don't install sysv initscript on systemd systems.

---
diff --git a/trafficserver.spec b/trafficserver.spec
index 0a6a382..e19397d 100644
--- a/trafficserver.spec
+++ b/trafficserver.spec
@@ -3,7 +3,7 @@
 Summary:	Fast, scalable and extensible HTTP/1.1 compliant caching proxy server
 Name:		trafficserver
 Version:	3.0.3
-Release:	4%{?dist}
+Release:	5%{?dist}
 License:	ASL 2.0
 Group:		System Environment/Daemons
 Source0:	http://www.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
@@ -69,8 +69,6 @@ The man-pages for enable, disable and exit was renamed to ts-enable,
 ts-disable and ts-exit to avoid conflicts with other man-pages.
 EOF
 
-mkdir -p $RPM_BUILD_ROOT/etc/init.d/
-mv $RPM_BUILD_ROOT/usr/bin/trafficserver $RPM_BUILD_ROOT/etc/init.d
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
 install -m 644 -p %{SOURCE1} \
@@ -79,6 +77,9 @@ install -m 644 -p %{SOURCE1} \
 %if %{?fedora}0 > 140 || %{?rhel}0 > 60
 install -D -m 644 -p %{SOURCE2} \
    $RPM_BUILD_ROOT/lib/systemd/system/trafficserver.service
+%else
+mkdir -p $RPM_BUILD_ROOT/etc/init.d/
+mv $RPM_BUILD_ROOT/usr/bin/trafficserver $RPM_BUILD_ROOT/etc/init.d
 %endif
 
 # Remove static libs (needs to go to separate -static subpackage if we
@@ -186,8 +187,9 @@ header files, and Apache httpd style module build system.
 %attr(0644,root,root) %{_libdir}/trafficserver/*.so
 
 %changelog
-* Wed Mar 21 2012 <janfrode@tanso.net> - 3.0.3-4
+* Wed Mar 21 2012 <janfrode@tanso.net> - 3.0.3-5
 - Add systemd support.
+- Drop init.d-script on systemd-systems.
 
 * Sun Mar 18 2012 <janfrode@tanso.net> - 3.0.3-3
 - change default proxy.config.proxy_name to FIXME.example.com instead of the

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-15 16:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 16:44 [rpms/trafficserver] trafficserver-10.1.3-1: Don't install sysv initscript on systemd systems Jan-Frode Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox