Accepting request 1058864 from hardware

OBS-URL: https://build.opensuse.org/request/show/1058864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crda?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2023-01-18 12:08:23 +00:00 committed by Git OBS Bridge
commit 0bbb662269
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 27 10:29:57 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
-------------------------------------------------------------------
Tue Dec 1 14:56:43 UTC 2020 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package crda
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -73,7 +73,7 @@ export PATH=.:$PATH
make DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}/ UDEV_RULE_DIR=%{_udevrulesdir} LIBDIR=%{_libdir} install
mkdir -p %{buildroot}%{_prefix}%{_sysconfdir}/default
install -m 644 %{S:1} %{buildroot}%{_prefix}%{_sysconfdir}/default/%{name}
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
mkdir $RPM_BUILD_ROOT/sbin
ln -sf %{_sbindir}/{crda,regdbdump} $RPM_BUILD_ROOT/sbin
%endif
@ -86,7 +86,7 @@ rm -r %{buildroot}/usr/include/reglib
%_sbindir/crda
%_sbindir/regdbdump
%_libdir/libreg.so
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
/sbin/crda
/sbin/regdbdump
%endif