SHA256
1
0
forked from pool/colord
Dominique Leuenberger 2014-09-17 10:25:44 +00:00 committed by Git OBS Bridge
parent 404884ec06
commit a1392c1889
2 changed files with 11 additions and 16 deletions

View File

@ -2,18 +2,16 @@
Mon Sep 15 06:47:53 UTC 2014 - kkaempf@suse.com Mon Sep 15 06:47:53 UTC 2014 - kkaempf@suse.com
- Update to version 1.2.3: - Update to version 1.2.3:
New Features: + New Features:
- colorhug: Add ch_device_check_firmware() - colorhug:
- colorhug: Add ch_device_mode_from_firmware() . Add ch_device_check_firmware().
- colorhug: Use a different PID for the ColorHug2 bootloader . Add ch_device_mode_from_firmware().
. Use a different PID for the ColorHug2 bootloader.
Bugfixes: + Bugfixes:
- Fix the device path to allow uid or username to be omitted - Fix the device path to allow uid or username to be omitted.
- There is no seat if running in a chroot - There is no seat if running in a chroot.
- Add systemd %pre and %post macros for colord.service.
- add systemd %pre and %post macros for colord.service - Add rccolord symlink.
- add rccolord symlink
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 23 21:27:22 UTC 2014 - dimstar@opensuse.org Sat Aug 23 21:27:22 UTC 2014 - dimstar@opensuse.org

View File

@ -146,14 +146,11 @@ test ! -f *.[2-9]
popd popd
%find_lang %{name} %find_lang %{name}
# follow http://en.opensuse.org/openSUSE:Systemd_packaging_guidelines
%pre %pre
%service_add_pre %{name}.service
# Create colord user # Create colord user
getent group colord >/dev/null || groupadd -r colord getent group colord >/dev/null || groupadd -r colord
getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord
%service_add_pre %{name}.service
# Fix ownership of /var/lib/colord from first packages (in 12.1) # Fix ownership of /var/lib/colord from first packages (in 12.1)
test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord
exit 0 exit 0