Sync from SUSE:ALP:Source:Standard:1.0 lsb-release revision 0d1d49346da2507ae189b9210310fe87

This commit is contained in:
Adrian Schröter 2023-12-19 15:05:33 +01:00
commit 292efbde77
4 changed files with 163 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
lsb-release-3.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

89
lsb-release.changes Normal file
View File

@ -0,0 +1,89 @@
-------------------------------------------------------------------
Mon Nov 6 10:37:11 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 3.3, includes
797e459ecaa482bf8e7bfe02cf5f1cea367ba9e9.patch
-------------------------------------------------------------------
Tue Sep 5 11:07:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add 797e459ecaa482bf8e7bfe02cf5f1cea367ba9e9.patch to fix
bashisms
-------------------------------------------------------------------
Wed Aug 9 16:10:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add util-linux dependency for getopt to avoid:
/usr/bin/lsb_release: line 123: getopt: command not found
-------------------------------------------------------------------
Fri Mar 25 13:39:05 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 3.2
- Shell script compatibility cleanup
-------------------------------------------------------------------
Tue Mar 10 18:41:22 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 3.1
- Define Distribution ID based on PRETTY_NAME
-------------------------------------------------------------------
Tue Aug 15 11:23:34 CEST 2017 - kukuk@suse.de
- Update to lsb-release 3.0
- obsoletes lsb-release-2.0.dif and reproducible.patch
- only supports /etc/os-release as fallback
- adjusted documentation
-------------------------------------------------------------------
Mon Jun 19 16:11:39 UTC 2017 - bwiedemann@suse.com
- Add reproducible.patch to drop current timestamps from man-page to make build reproducible
-------------------------------------------------------------------
Mon May 30 15:33:16 CEST 2016 - kukuk@suse.de
- Merge with openSUSE again, change openSUSE project distributor
name to remove the problematic whitespace.
-------------------------------------------------------------------
Mon Feb 22 10:56:38 CET 2016 - kukuk@suse.de
- Change Distributor name from "SUSE LINUX" to "SUSE", since
the LSB spec is not in sync with the reference implementation,
and some projects follow the reference implementation and not
the spec.
-------------------------------------------------------------------
Fri Jan 30 11:08:40 CET 2015 - kukuk@suse.de
- Read /etc/lsb-release.d/* even if /etc/lsb-release does not
contain a LSB_VERSION entry [FATE#318419]
- codename is not the distribution version
-------------------------------------------------------------------
Mon May 26 14:53:28 CEST 2014 - kukuk@suse.de
- Remove openSUSE stuff [bnc#877042]
-------------------------------------------------------------------
Thu Oct 17 07:52:33 UTC 2013 - bugs@vdm-design.de
- Change to use /etc/os-release instead of /etc/SuSE-release [bnc#845262]
-------------------------------------------------------------------
Tue Sep 11 10:55:19 UTC 2012 - aj@suse.de
- For openSUSE the distributor is the openSUSE project.
-------------------------------------------------------------------
Mon Sep 20 17:31:46 CEST 2010 - kukuk@suse.de
- Read "CODENAME" from /etc/SuSE-release [bnc#640213]
- Add "lsb-release" compat links
-------------------------------------------------------------------
Mon Jul 20 15:11:12 CEST 2009 - kukuk@suse.de
- Split off from lsb package [bnc#483655]

48
lsb-release.spec Normal file
View File

@ -0,0 +1,48 @@
#
# spec file for package lsb-release
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: lsb-release
Version: 3.3
Release: 0
Summary: Linux Standard Base Release Tools
License: GPL-2.0-or-later
Group: System/Fhs
URL: https://github.com/thkukuk/lsb-release_os-release
Source: https://github.com/thkukuk/lsb-release_os-release/archive/refs/tags/v%{version}.tar.gz#/lsb-release-%{version}.tar.gz
# for getopt(1)
Requires: util-linux
BuildArch: noarch
%description
Tools from the Linux Standard Base project to determine the used distribution
%prep
%autosetup -n lsb-release_os-release-%{version}
%build
%make_build
%install
make install INSTALL_ROOT=%{buildroot}%{_prefix}
%files
%license COPYING
%{_bindir}/lsb?release
%{_mandir}/man1/lsb?release.1%{?ext_man}
%changelog