Accepting request 1142423 from Base:System

- remove bin symlink for non-suse distributions

OBS-URL: https://build.opensuse.org/request/show/1142423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fillup?expand=0&rev=31
This commit is contained in:
Ana Guerrero 2024-01-31 22:54:01 +00:00 committed by Git OBS Bridge
commit b40dcd25f8
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 17 17:32:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- remove bin symlink for non-suse distributions
-------------------------------------------------------------------
Tue Dec 27 10:36:20 UTC 2022 - Ludwig Nussel <lnussel@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package fillup
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -65,7 +65,7 @@ install -m 755 BIN/fillup %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man8
install -m 644 SGML/fillup.8.gz %{buildroot}/%{_mandir}/man8
%if 0%{?suse_version} < 1550
%if 0%{?suse_version} && 0%{?suse_version} < 1550
# There are literally hundreds of rpm scritps referencing /bin/fillup (suse macro)
# So let's at least keep the symlink there for now (DimStar - 2014-10-31)
install -d -m 755 $RPM_BUILD_ROOT/bin
@ -79,7 +79,7 @@ make test OPTISPLUS="%{optflags}"
%files
%defattr(-,root,root)
# rpm scriptlets still use this, based on %*fillup* macros
%if 0%{?suse_version} < 1550
%if 0%{?suse_version} && 0%{?suse_version} < 1550
/bin/fillup
%endif
%{_bindir}/fillup