Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pptpd for openSUSE:Factory checked 
in at 2022-04-22 21:55:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pptpd (Old)
 and      /work/SRC/openSUSE:Factory/.pptpd.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pptpd"

Fri Apr 22 21:55:13 2022 rev:24 rq:972224 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/pptpd/pptpd.changes      2020-02-04 
19:55:21.909392006 +0100
+++ /work/SRC/openSUSE:Factory/.pptpd.new.1538/pptpd.changes    2022-04-22 
21:56:27.218956366 +0200
@@ -1,0 +2,8 @@
+Fri Apr 22 14:04:43 UTC 2022 - Dominique Leuenberger <[email protected]>
+
+- Use %_modulesloaddir instead of hardcoding
+  usr/lib/modules-load.d.
+- BuildRequire pkgconfig(udev) instead of pkgconfig(systemd):
+  modules-load.d belongs to udev, not systemd.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pptpd.spec ++++++
--- /var/tmp/diff_new_pack.inYngc/_old  2022-04-22 21:56:27.738956958 +0200
+++ /var/tmp/diff_new_pack.inYngc/_new  2022-04-22 21:56:27.742956963 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pptpd
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -39,11 +39,12 @@
 BuildRequires:  ppp-devel
 Requires:       ppp
 %if 0%{?suse_version} > 1140
-BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
 %{?systemd_ordering}
 %define has_systemd 1
 %else
-PreReq:         %fillup_prereq %insserv_prereq
+PreReq:         %fillup_prereq
+PreReq:         %insserv_prereq
 %endif
 
 %description
@@ -71,7 +72,7 @@
 
 %if 0%{?has_systemd}
 install -D -m 0644 %{S:9} %{buildroot}%{_unitdir}/`basename %{S:9}`
-mkdir -p %{buildroot}/usr/lib/modules-load.d
+mkdir -p %{buildroot}%{_modulesloaddir}
 echo "ppp_mppe" > %{buildroot}/usr/lib/modules-load.d/pptpd.conf
 %else
 mkdir -p %{buildroot}/etc/init.d
@@ -81,7 +82,6 @@
 install -Dm 0644 %{S:4}                        %{buildroot}/etc/pptpd.conf
 find {samples,PPTP-Installation,pptp-server} -type f -exec chmod -x {} +
 chmod -x AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
-mkdir -p %{buildroot}/usr/lib/modules-load.d
 
 %pre
 %if 0%{?has_systemd}
@@ -125,7 +125,7 @@
 /usr/lib/pptpd
 %if 0%{?has_systemd}
 %{_unitdir}/%{name}.service
-/usr/lib/modules-load.d/pptpd.conf
+%{_modulesloaddir}/pptpd.conf
 %else
 /usr/sbin/rcpptpd
 /etc/init.d/pptpd

Reply via email to