Use modern macros
This commit is contained in:
parent
ba6e8063b4
commit
ed990f93cf
85
lshw.spec
85
lshw.spec
@ -5,7 +5,7 @@
|
|||||||
Summary: Hardware lister
|
Summary: Hardware lister
|
||||||
Name: lshw
|
Name: lshw
|
||||||
Version: B.02.19.2
|
Version: B.02.19.2
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://ezix.org/project/wiki/HardwareLiSter
|
URL: http://ezix.org/project/wiki/HardwareLiSter
|
||||||
Source0: http://www.ezix.org/software/files/lshw-%{version}.tar.gz
|
Source0: http://www.ezix.org/software/files/lshw-%{version}.tar.gz
|
||||||
@ -52,7 +52,7 @@ Patch45: 0039-fix-man-page-after-previous-update.patch
|
|||||||
Patch46: 0040-Report-correct-memory-size-on-SMBIOS-2.7.patch
|
Patch46: 0040-Report-correct-memory-size-on-SMBIOS-2.7.patch
|
||||||
Patch47: 0041-Add-JEDEC-manufacturer.patch
|
Patch47: 0041-Add-JEDEC-manufacturer.patch
|
||||||
Patch48: 0042-Avoid-crash-on-device-tree-parsing.patch
|
Patch48: 0042-Avoid-crash-on-device-tree-parsing.patch
|
||||||
#Patch49: 0043-add-static-target-to-Makefile.patch
|
#Patch49: 0043-add-static-target-to-Makefile.patch -- Makefile change only, no need
|
||||||
Patch50: 0044-fix-potential-crash.patch
|
Patch50: 0044-fix-potential-crash.patch
|
||||||
Patch51: 0045-improve-portability-esp.-musl.patch
|
Patch51: 0045-improve-portability-esp.-musl.patch
|
||||||
Patch52: 0046-code-clean-up.patch
|
Patch52: 0046-code-clean-up.patch
|
||||||
@ -62,8 +62,8 @@ Patch55: 0049-Fix-typos-in-translatable-messages.patch
|
|||||||
Patch56: 0050-Fix-another-typo.patch
|
Patch56: 0050-Fix-another-typo.patch
|
||||||
Patch57: 0051-Translate-all-words-of-a-phrase-together.patch
|
Patch57: 0051-Translate-all-words-of-a-phrase-together.patch
|
||||||
Patch58: 0052-Remove-unnecessary-space-before-closing-parenthesis.patch
|
Patch58: 0052-Remove-unnecessary-space-before-closing-parenthesis.patch
|
||||||
#Patch59: 0053-allow-pkg-config-override.patch
|
#Patch59: 0053-allow-pkg-config-override.patch -- ditto
|
||||||
#Patch60: 0054-allow-pkg-config-override.patch
|
#Patch60: 0054-allow-pkg-config-override.patch -- ditto
|
||||||
Patch61: 0055-code-clean-up.patch
|
Patch61: 0055-code-clean-up.patch
|
||||||
Patch62: 0056-code-clean-up.patch
|
Patch62: 0056-code-clean-up.patch
|
||||||
Patch63: 0057-support-for-new-ethtool-capabilities.patch
|
Patch63: 0057-support-for-new-ethtool-capabilities.patch
|
||||||
@ -73,7 +73,7 @@ Patch66: 0060-add-some-includes.patch
|
|||||||
Patch67: 0061-Add-more-network-speeds.patch
|
Patch67: 0061-Add-more-network-speeds.patch
|
||||||
Patch68: 0062-Update-POT-file.patch
|
Patch68: 0062-Update-POT-file.patch
|
||||||
Patch69: 0063-Add-Catalan-translation.patch
|
Patch69: 0063-Add-Catalan-translation.patch
|
||||||
#Patch70: 0064-use-max-9-Gzip-compression.patch
|
#Patch70: 0064-use-max-9-Gzip-compression.patch -- ditto
|
||||||
Patch71: 0065-merge-Github-PR-77.patch
|
Patch71: 0065-merge-Github-PR-77.patch
|
||||||
Patch72: 0066-Fix-mistakes-in-Catalan-translation.patch
|
Patch72: 0066-Fix-mistakes-in-Catalan-translation.patch
|
||||||
Patch73: 0067-Add-Spanish-translation.patch
|
Patch73: 0067-Add-Spanish-translation.patch
|
||||||
@ -92,7 +92,6 @@ BuildRequires: ninja-build
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: sqlite-devel
|
BuildRequires: sqlite-devel
|
||||||
Requires: hwdata
|
Requires: hwdata
|
||||||
Requires: sqlite-libs
|
|
||||||
%description
|
%description
|
||||||
lshw is a small tool to provide detailed informaton on the hardware
|
lshw is a small tool to provide detailed informaton on the hardware
|
||||||
configuration of the machine. It can report exact memory
|
configuration of the machine. It can report exact memory
|
||||||
@ -114,76 +113,7 @@ format.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch01 -p1
|
|
||||||
%patch04 -p1
|
|
||||||
%patch9 -p1
|
|
||||||
%patch10 -p1
|
|
||||||
%patch11 -p1
|
|
||||||
%patch12 -p1
|
|
||||||
%patch13 -p1
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%patch16 -p1
|
|
||||||
%patch17 -p1
|
|
||||||
%patch18 -p1
|
|
||||||
%patch19 -p1
|
|
||||||
%patch20 -p1
|
|
||||||
%patch21 -p1
|
|
||||||
%patch22 -p1
|
|
||||||
%patch23 -p1
|
|
||||||
%patch24 -p1
|
|
||||||
%patch25 -p1
|
|
||||||
%patch26 -p1
|
|
||||||
%patch27 -p1
|
|
||||||
%patch28 -p1
|
|
||||||
%patch29 -p1
|
|
||||||
%patch30 -p1
|
|
||||||
%patch31 -p1
|
|
||||||
%patch32 -p1
|
|
||||||
%patch33 -p1
|
|
||||||
%patch34 -p1
|
|
||||||
%patch35 -p1
|
|
||||||
%patch36 -p1
|
|
||||||
%patch37 -p1
|
|
||||||
%patch38 -p1
|
|
||||||
%patch39 -p1
|
|
||||||
%patch40 -p1
|
|
||||||
%patch41 -p1
|
|
||||||
%patch42 -p1
|
|
||||||
%patch43 -p1
|
|
||||||
%patch44 -p1
|
|
||||||
%patch45 -p1
|
|
||||||
%patch46 -p1
|
|
||||||
%patch47 -p1
|
|
||||||
%patch48 -p1
|
|
||||||
#%patch49 -p1 changes only on Makefile, not needed
|
|
||||||
%patch50 -p1
|
|
||||||
%patch51 -p1
|
|
||||||
%patch52 -p1
|
|
||||||
%patch53 -p1
|
|
||||||
%patch54 -p1
|
|
||||||
%patch55 -p1
|
|
||||||
%patch56 -p1
|
|
||||||
%patch57 -p1
|
|
||||||
%patch58 -p1
|
|
||||||
#%patch59 -p1 changes only on src/Makefile, not needed
|
|
||||||
#%patch60 -p1 changes only on src/gui/Makefile, not needed
|
|
||||||
%patch61 -p1
|
|
||||||
%patch62 -p1
|
|
||||||
%patch63 -p1
|
|
||||||
%patch64 -p1
|
|
||||||
%patch65 -p1
|
|
||||||
%patch66 -p1
|
|
||||||
%patch67 -p1
|
|
||||||
%patch68 -p1
|
|
||||||
%patch69 -p1
|
|
||||||
#%patch70 -p1 changes only on src/Makefile, not needed
|
|
||||||
%patch71 -p1
|
|
||||||
%patch72 -p1
|
|
||||||
%patch73 -p1
|
|
||||||
%patch74 -p1
|
|
||||||
%patch75 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with gui}
|
%if %{with gui}
|
||||||
@ -241,6 +171,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 05 2023 Terje Rosten <terje.rosten@ntnu.no> - B.02.19.2-11
|
||||||
|
- Use modern macros
|
||||||
|
|
||||||
* Tue Apr 04 2023 Yaakov Selkowitz <yselkowi@redhat.com> - B.02.19.2-10
|
* Tue Apr 04 2023 Yaakov Selkowitz <yselkowi@redhat.com> - B.02.19.2-10
|
||||||
- Update to upstream commit 76afbaaf40e
|
- Update to upstream commit 76afbaaf40e
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user