]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- move org.opensuse.Snapper.conf from /etc to /usr 634/head
authorArvin Schnell <aschnell@suse.de>
Thu, 8 Apr 2021 12:17:08 +0000 (14:17 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 8 Apr 2021 12:17:08 +0000 (14:17 +0200)
data/Makefile.am
dists/debian/snapper.install
package/snapper.changes
snapper.spec.in

index b9a761cf78e1de40073fc19e8b3ec19b92e31623..684d92b1725fce945e83bf5f8f9f36eb7419b4e7 100644 (file)
@@ -18,7 +18,7 @@ install-data-local:
        install -D -m 644 lvm.txt $(DESTDIR)/etc/snapper/filters/lvm.txt
        install -D -m 644 x11.txt $(DESTDIR)/etc/snapper/filters/x11.txt
 
-       install -D -m 644 org.opensuse.Snapper.conf $(DESTDIR)/etc/dbus-1/system.d/org.opensuse.Snapper.conf
+       install -D -m 644 org.opensuse.Snapper.conf $(DESTDIR)/usr/share/dbus-1/system.d/org.opensuse.Snapper.conf
        install -D -m 644 org.opensuse.Snapper.service $(DESTDIR)/usr/share/dbus-1/system-services/org.opensuse.Snapper.service
 
 if ENABLE_SYSTEMD
index 67b65379600da680ab5b14600195c7e7b0eb68bd..d6958c0bedca77c5d7f0c0520345d467eb0ffadd 100644 (file)
@@ -1,9 +1,9 @@
 etc/cron.daily/snapper
 etc/cron.hourly/snapper
-etc/dbus-1/system.d/org.opensuse.Snapper.conf
 etc/logrotate.d/snapper
 usr/bin/snapper
 usr/sbin/snapperd
+usr/share/dbus-1/system.d/org.opensuse.Snapper.conf
 usr/share/dbus-1/system-services/org.opensuse.Snapper.service
 usr/share/locale/*/LC_MESSAGES/snapper.mo
 usr/lib/systemd/system/snapperd.service
index 4ead19169ac64cbc4463769f7b766646f0df75b2..40fbf588ad870f4ed25f180d5ce51e3d6086e49e 100644 (file)
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Thu Apr 08 14:05:19 CEST 2021 - aschnell@suse.com
+
+- move org.opensuse.Snapper.conf from /etc to /usr (bsc#1183398 and
+  gh#openSUSE/snapper#492)
+
 -------------------------------------------------------------------
 Wed Apr 07 10:24:33 CEST 2021 - aschnell@suse.com
 
index 9c96baeb6c5088cf1b287fe607f7f9c510334191..2bc50055893ca108cc8d9367d79e298846078326 100644 (file)
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -88,6 +88,7 @@ BuildRequires:  lcov
 %endif
 Requires:       diffutils
 Requires:       libsnapper@LIBVERSION_MAJOR@ = %version
+Requires:       systemd
 %if 0%{?suse_version}
 Recommends:     logrotate snapper-zypp-plugin
 Supplements:    btrfsprogs
@@ -193,7 +194,10 @@ fi
 %endif
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
 %{_unitdir}/snapper*.*
-%config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
+%if 0%{?suse_version} <= 1500
+%dir %{_datadir}/dbus-1/system.d
+%endif
+%{_datadir}/dbus-1/system.d/org.opensuse.Snapper.conf
 %{_datadir}/dbus-1/system-services/org.opensuse.Snapper.service
 
 %package -n libsnapper@LIBVERSION_MAJOR@