Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
rpm-config-SUSE
rpm-config-SUSE.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rpm-config-SUSE.spec of Package rpm-config-SUSE
# # spec file for package rpm-config-SUSE # # Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: rpm-config-SUSE Version: 1 Release: 0 Summary: SUSE specific RPM configuration files License: GPL-2.0-or-later Group: System/Packages Source: %{name}-%{version}.tar.gz # needed for jsc#SLE-20017 Source1: macros.rpm415 Patch1: bsc1190850-support-zstd-compressed-kernel-modules.patch Patch2: sle_version.diff Patch3: bsc1192160-rpm-config-SUSE-support-compressed-firmware-files.patch # RPM owns the directories we need Requires: rpm BuildArch: noarch #!BuildIgnore: rpm-config-SUSE %description This package contains the RPM configuration data for the SUSE Linux distribution family. %prep %setup -q %autopatch -p1 %build # Set up the SUSE Linux version macros sed -e 's/@suse_version@/%{?suse_version}%{!?suse_version:0}/' \ -e 's/@sles_version@/%{?sles_version}%{!?sles_version:0}/' \ -e 's/@ul_version@/%{?ul_version}%{!?ul_version:0}/' \ -e '/@is_opensuse@%{?is_opensuse:nomatch}/d' \ -e 's/@is_opensuse@/%{?is_opensuse}%{!?is_opensuse:0}/' \ -e 's/@sle_version@/%{?sle_version}%{!?sle_version:0}/' \ < suse_macros.in > suse_macros cat <<EOF > macros.d/macros.sbat # Common SBAT values for secure boot # https://github.com/rhboot/shim/blob/main/SBAT.md %if 0%{?is_opensuse} %%sbat_distro opensuse %%sbat_distro_summary The openSUSE Project %else %%sbat_distro sle %%sbat_distro_summary SUSE Linux Enterprise %endif %%sbat_distro_url mailto:security@suse.de EOF %install # Install SUSE vendor macros and rpmrc mkdir -p %{buildroot}%{_rpmconfigdir}/suse cp -a suse_macros %{buildroot}%{_rpmconfigdir}/suse/macros # Install vendor dependency generators cp -a fileattrs %{buildroot}%{_rpmconfigdir} cp -a scripts/* %{buildroot}%{_rpmconfigdir} cp -a macros.d %{buildroot}%{_rpmconfigdir} cp %{S:1} %{buildroot}%{_rpmconfigdir}/macros.d/ %files %license COPYING %doc README.md %{_rpmconfigdir}/suse/ %{_rpmconfigdir}/macros.d/macros.* %{_rpmconfigdir}/fileattrs/* %{_rpmconfigdir}/brp-suse %{_rpmconfigdir}/firmware.prov %{_rpmconfigdir}/sysvinitdeps.sh # kmod deps %{_rpmconfigdir}/find-provides.ksyms %{_rpmconfigdir}/find-requires.ksyms %{_rpmconfigdir}/find-supplements.ksyms %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor