Accepting request 208095 from home:elvigia:branches:Base:System

- define _udevrulesdir only if not already defined
- run %udev_rules_update, if defined.

OBS-URL: https://build.opensuse.org/request/show/208095
OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2013-11-24 12:45:01 +00:00 committed by Git OBS Bridge
parent 13f277d5de
commit 13c4bc153a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Nov 24 04:06:19 UTC 2013 - crrodriguez@opensuse.org
- define _udevrulesdir only if not already defined
- run %udev_rules_update, if defined.
-------------------------------------------------------------------
Wed Aug 21 07:04:30 UTC 2013 - dimstar@opensuse.org

View File

@ -16,7 +16,7 @@
#
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d}
Name: udisks2
%define _name udisks
@ -109,6 +109,7 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%service_add_pre udisks2.service
%post
%{?udev_rules_update:%udev_rules_update}
%service_add_post udisks2.service
%preun