Author: cactus                       Date: Sun Dec  4 02:58:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; systemd

---- Files affected:
packages/bluez:
   bluez.spec (1.77 -> 1.78) 

---- Diffs:

================================================================
Index: packages/bluez/bluez.spec
diff -u packages/bluez/bluez.spec:1.77 packages/bluez/bluez.spec:1.78
--- packages/bluez/bluez.spec:1.77      Fri Dec  2 17:23:45 2011
+++ packages/bluez/bluez.spec   Sun Dec  4 03:58:10 2011
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):     Narzędzia Bluetooth
 Name:          bluez
 Version:       4.96
-Release:       2
+Release:       3
 License:       GPL v2+
 Group:         Applications/System
 #Source0Download: http://www.bluez.org/download.html
@@ -32,7 +32,7 @@
 BuildRequires: libusb-compat-devel
 BuildRequires: pkgconfig >= 1:0.9.0
 BuildRequires: readline-devel
-BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: rpmbuild(macros) >= 1.623
 BuildRequires: udev-devel
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      glib2 >= 1:2.16
@@ -193,7 +193,7 @@
 %{__automake}
 %configure \
        --with-ouifile=%{_datadir}/hwdata/oui.txt \
-       --with-systemdsystemunitdir=/lib/systemd/system \
+       --with-systemdsystemunitdir=%{systemdunitdir} \
        --disable-silent-rules \
        --enable-shared \
        --enable-static \
@@ -279,6 +279,15 @@
 %post   libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
 
+%post systemd
+%systemd_post
+
+%preun systemd
+%systemd_preun bluetooth.service
+
+%postun systemd
+%systemd_postun bluetooth.service
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
@@ -357,7 +366,7 @@
 
 %files systemd
 %defattr(644,root,root,755)
-/lib/systemd/system/bluetooth.service
+%{systemdunitdir}/bluetooth.service
 %{_datadir}/dbus-1/system-services/org.bluez.service
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -366,6 +375,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78  2011/12/04 02:58:10  cactus
+- rel 3; systemd
+
 Revision 1.77  2011/12/02 16:23:45  cactus
 - rel 2; systemd service
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bluez/bluez.spec?r1=1.77&r2=1.78&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to