public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan-Frode Myklebust <janfrode@tanso.net>
To: git-commits@fedoraproject.org
Subject: [rpms/trafficserver] trafficserver-10.1.3-1: Don't install sysv initscript on systemd systems.
Date: Wed, 15 Jul 2026 16:44:52 GMT	[thread overview]
Message-ID: <178413389274.1.15127024569510455365.rpms-trafficserver-8bd47371a050@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-15 16:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178413389274.1.15127024569510455365.rpms-trafficserver-8bd47371a050@fedoraproject.org \
    --to=janfrode@tanso.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox