fix group in udev rules [release 1.7.2-2mamba;Sat Nov 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 08:15:21 +01:00
parent 6a298c63c0
commit 2ed1d7da27

View File

@ -1,7 +1,7 @@
Name: openobex Name: openobex
Epoch: 1 Epoch: 1
Version: 1.7.2 Version: 1.7.2
Release: 1mamba Release: 2mamba
Summary: Applications for using OBEX Summary: Applications for using OBEX
Group: Applications/Communication Group: Applications/Communication
Vendor: openmamba Vendor: openmamba
@ -13,8 +13,9 @@ Source: http://downloads.sourceforge.net/openobex/openobex-%{version}-Sou
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbluetooth-devel BuildRequires: libbluetooth-devel
BuildRequires: libusbx-devel BuildRequires: libusb-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
@ -35,6 +36,7 @@ This package contains utility programs made to show Open OBEX library usage.
%package -n lib%{name} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
Summary: Library for using OBEX Summary: Library for using OBEX
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name} %description -n lib%{name}
OBEX is a session protocol and can best be described as a binary HTTP protocol. OBEX is a session protocol and can best be described as a binary HTTP protocol.
@ -65,8 +67,11 @@ Microsoft Windows2000 has also builtin OBEX support.
This package contains static libraries and header files need for development. This package contains static libraries and header files need for development.
%debug_package
%prep %prep
%setup -q -n openobex-%{version}-Source %setup -q -n openobex-%{version}-Source
sed -i 's|GROUP="plugdev"|GROUP="nopermfs"|' udev/openobex.rules.in
%build %build
%cmake -d build %cmake -d build
@ -98,6 +103,8 @@ install -m644 build/apps/lib/libopenobex-apps-common.a %{buildroot}%{_libdir}/li
%{_bindir}/obex_find %{_bindir}/obex_find
%{_bindir}/obex_tcp %{_bindir}/obex_tcp
%{_bindir}/obex_test %{_bindir}/obex_test
%{_sbindir}/obex-check-device
%{_libdir}/lib%{name}.so.*
%{_mandir}/man1/ircp.1* %{_mandir}/man1/ircp.1*
%{_mandir}/man1/irobex_palm3.1* %{_mandir}/man1/irobex_palm3.1*
%{_mandir}/man1/irxfer.1* %{_mandir}/man1/irxfer.1*
@ -107,9 +114,7 @@ install -m644 build/apps/lib/libopenobex-apps-common.a %{buildroot}%{_libdir}/li
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_sbindir}/obex-check-device %{_udevrulesdir}/60-openobex.rules
%{_libdir}/lib%{name}.so.*
/lib/udev/rules.d/60-openobex.rules
%doc COPYING COPYING.LIB %doc COPYING COPYING.LIB
%files -n lib%{name}-devel %files -n lib%{name}-devel
@ -125,6 +130,9 @@ install -m644 build/apps/lib/libopenobex-apps-common.a %{buildroot}%{_libdir}/li
%doc AUTHORS ChangeLog NEWS README %doc AUTHORS ChangeLog NEWS README
%changelog %changelog
* Sat Nov 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.2-2mamba
- fix group in udev rules
* Thu Dec 01 2016 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba * Thu Dec 01 2016 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist - automatic version update by autodist