Accepting request 762922 from home:iznogood
- Move /usr/share/locale/en from the -lang package to the main package: English is installed on all systems. This avoids libsmbios-lang being triggered for installation on english-only systems. - Modernize spec. OBS-URL: https://build.opensuse.org/request/show/762922 OBS-URL: https://build.opensuse.org/package/show/Base:System/libsmbios?expand=0&rev=44
This commit is contained in:
parent
eeddbf13e7
commit
96e6109312
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 10 21:44:30 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Move /usr/share/locale/en from the -lang package to the main
|
||||||
|
package: English is installed on all systems. This avoids
|
||||||
|
libsmbios-lang being triggered for installation on english-only
|
||||||
|
systems.
|
||||||
|
- Modernize spec.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 21 13:49:06 UTC 2018 - Enno Gotthold <egotthold@suse.com>
|
Wed Nov 21 13:49:06 UTC 2018 - Enno Gotthold <egotthold@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsmbios
|
# spec file for package libsmbios
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,6 +26,7 @@ Group: Hardware/Other
|
|||||||
URL: https://github.com/dell/libsmbios
|
URL: https://github.com/dell/libsmbios
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Source1: %{name}-rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
@ -121,7 +122,7 @@ This package contains the headers and .a files necessary to compile new client
|
|||||||
programs against libsmbios.
|
programs against libsmbios.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
@ -132,8 +133,9 @@ export LDFLAGS="-pie"
|
|||||||
--enable-nls \
|
--enable-nls \
|
||||||
--enable-python \
|
--enable-python \
|
||||||
--enable-as-needed \
|
--enable-as-needed \
|
||||||
--enable-doxygen
|
--enable-doxygen \
|
||||||
make %{?_smp_mflags}
|
%{nil}
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -171,8 +173,11 @@ make %{?_smp_mflags} check
|
|||||||
%license COPYING-GPL COPYING-OSL
|
%license COPYING-GPL COPYING-OSL
|
||||||
%license src/bin/getopts_LICENSE.txt
|
%license src/bin/getopts_LICENSE.txt
|
||||||
%{_libdir}/libsmbios_c.so.*
|
%{_libdir}/libsmbios_c.so.*
|
||||||
|
%{_datadir}/locale/en/
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
# english locale should be in the main package
|
||||||
|
%exclude %{_datadir}/locale/en
|
||||||
|
|
||||||
%files -n libsmbios-devel
|
%files -n libsmbios-devel
|
||||||
%{_includedir}/smbios
|
%{_includedir}/smbios
|
||||||
|
Loading…
Reference in New Issue
Block a user