import UBI package-notes-0.5-13.el10
This commit is contained in:
parent
f06191d02c
commit
dbe34e3bae
@ -1 +0,0 @@
|
||||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
/package-notes-0.4.tar.gz
|
||||
/redhat-package-notes
|
||||
57
changelog
57
changelog
@ -1,57 +0,0 @@
|
||||
* Tue Aug 16 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5-3
|
||||
- Switch to --package-metadata also with lld (#2051597)
|
||||
|
||||
* Tue Aug 09 2022 Luca Boccassi <bluca@debian.org> - 0.5-1
|
||||
- Switch to --package-metadata (#2055863, #2083878, #2099999, #2059858, #2055458)
|
||||
|
||||
* Sat Aug 06 2022 Tom Stellard <tstellar@redhat.com> - 0.4-17
|
||||
- Add CI test
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Mar 26 2022 Luca Boccassi <bluca@debian.org> - 0.4-15
|
||||
- Fix wrong binary fields on big endian
|
||||
|
||||
* Tue Jan 25 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-14
|
||||
- Disable notes when clang toolchain is used on arm
|
||||
|
||||
* Mon Jan 24 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-13
|
||||
- Disable notes with linkers other than bfd
|
||||
|
||||
* Mon Jan 24 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-12
|
||||
- Add --insert-after param to the note generation script
|
||||
|
||||
* Sat Jan 22 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-11
|
||||
- Add %%_package_note_linker and document everything (rhbz#2043178,
|
||||
rhbz#2043368)
|
||||
|
||||
* Sat Jan 22 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-10
|
||||
- Allow unsetting %%_package_note_readonly to drop the READONLY attribute
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-9
|
||||
- Use %%{buildsubdir} in %%_package_note_file if defined
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-8
|
||||
- Also voidify the macros if we're on a noarch build
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-7
|
||||
- Use $RPM_PACKAGE_VERSION variable to refer to the package version
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-6
|
||||
- Make _generate_package_note_file always recreate the file
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-5
|
||||
- Conditionalize all macros on %%_package_note_file being defined
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jan 14 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-3
|
||||
- Rename srpm macros file
|
||||
|
||||
* Fri Jan 14 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-2
|
||||
- Add package-notes-srpm-macros subpackage to configure rpm builds
|
||||
|
||||
* Tue Nov 16 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-1
|
||||
- Version 0.4
|
||||
@ -1,3 +1,13 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.6.5)
|
||||
## RPMAUTOSPEC: autorelease, autochangelog
|
||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||
release_number = 13;
|
||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||
print(release_number + base_release_number - 1);
|
||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||
## END: Set by rpmautospec
|
||||
|
||||
Name: package-notes
|
||||
Version: 0.5
|
||||
Release: %autorelease
|
||||
@ -43,4 +53,95 @@ install -m0644 -Dt %{buildroot}%{_rpmmacrodir}/ %{SOURCE1}
|
||||
%{_rpmmacrodir}/macros.package-notes-srpm
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
## START: Generated by rpmautospec
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.5-13
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.5-12
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat May 20 2023 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5-8
|
||||
- Make sure redhat-package-notes spec is skipped if _package_note_flags is
|
||||
undefined (rbhz#2184553)
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Sep 03 2022 Luca Boccassi <bluca@debian.org> - 0.5-6
|
||||
- test: run clang build too
|
||||
|
||||
* Mon Aug 29 2022 Luca Boccassi <bluca@debian.org> - 0.5-5
|
||||
- Disable by default with lld
|
||||
|
||||
* Tue Aug 16 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.5-4
|
||||
- Fix regression due to typo in _package_note_status
|
||||
- Fixes RHBZ#2118722
|
||||
|
||||
* Tue Aug 16 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5-3
|
||||
- Switch to --package-metadata also with lld (#2051597)
|
||||
|
||||
* Tue Aug 09 2022 Luca Boccassi <bluca@debian.org> - 0.5-1
|
||||
- Switch to --package-metadata (#2055863, #2083878, #2099999, #2059858, #2055458)
|
||||
|
||||
* Sat Aug 06 2022 Tom Stellard <tstellar@redhat.com> - 0.4-17
|
||||
- Add CI test
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Mar 26 2022 Luca Boccassi <bluca@debian.org> - 0.4-15
|
||||
- Fix wrong binary fields on big endian
|
||||
|
||||
* Tue Jan 25 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-14
|
||||
- Disable notes when clang toolchain is used on arm
|
||||
|
||||
* Mon Jan 24 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-13
|
||||
- Disable notes with linkers other than bfd
|
||||
|
||||
* Mon Jan 24 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-12
|
||||
- Add --insert-after param to the note generation script
|
||||
|
||||
* Sat Jan 22 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-11
|
||||
- Add %%_package_note_linker and document everything (rhbz#2043178,
|
||||
rhbz#2043368)
|
||||
|
||||
* Sat Jan 22 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-10
|
||||
- Allow unsetting %%_package_note_readonly to drop the READONLY attribute
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-9
|
||||
- Use %%{buildsubdir} in %%_package_note_file if defined
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-8
|
||||
- Also voidify the macros if we're on a noarch build
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-7
|
||||
- Use $RPM_PACKAGE_VERSION variable to refer to the package version
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-6
|
||||
- Make _generate_package_note_file always recreate the file
|
||||
|
||||
* Fri Jan 21 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-5
|
||||
- Conditionalize all macros on %%_package_note_file being defined
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jan 14 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-3
|
||||
- Rename srpm macros file
|
||||
|
||||
* Fri Jan 14 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-2
|
||||
- Add package-notes-srpm-macros subpackage to configure rpm builds
|
||||
|
||||
* Tue Nov 16 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-1
|
||||
- Version 0.4
|
||||
|
||||
## END: Generated by rpmautospec
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
@ -1,4 +0,0 @@
|
||||
discover:
|
||||
how: fmf
|
||||
exexute:
|
||||
how: tmt
|
||||
@ -1,6 +0,0 @@
|
||||
summary: Test build a simple RPM package to ensure package notes are working
|
||||
require:
|
||||
- dnf
|
||||
- dnf-plugins-core
|
||||
- rpm-build
|
||||
test: ./runtest.sh
|
||||
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
dnf -y build-dep test.spec
|
||||
rpmbuild --define '_sourcedir .' --define '_builddir .' -bb test.spec
|
||||
dnf -y build-dep test.spec -D "_with_ld_lld 1"
|
||||
rpmbuild --with ld_lld --define '_sourcedir .' --define '_builddir .' -bb test.spec
|
||||
dnf -y build-dep test.spec -D "_with_clang 1"
|
||||
rpmbuild --with clang --define '_sourcedir .' --define '_builddir .' -bb test.spec
|
||||
@ -1,50 +0,0 @@
|
||||
%bcond_with ld_lld
|
||||
%bcond_with clang
|
||||
|
||||
%if %{with ld_lld}
|
||||
%global extra_ldflags -fuse-ld=lld
|
||||
%global _package_note_linker lld
|
||||
%endif
|
||||
%if %{with clang}
|
||||
%global toolchain clang
|
||||
%endif
|
||||
|
||||
Name: test
|
||||
Version: 1
|
||||
Release: 1
|
||||
Summary: Test package for checking package notes
|
||||
License: MIT
|
||||
|
||||
%if %{with clang}
|
||||
BuildRequires: clang
|
||||
%else
|
||||
BuildRequires: gcc
|
||||
%endif
|
||||
# For %check
|
||||
BuildRequires: binutils
|
||||
BuildRequires: jq
|
||||
%if %{with ld_lld}
|
||||
BuildRequires: lld
|
||||
%endif
|
||||
|
||||
%description
|
||||
Test package for checking package notes
|
||||
|
||||
%build
|
||||
echo 'int main(int argc, char **argv) { return 0; }' | %{build_cc} ${CFLAGS} -x c -c - -o main.o
|
||||
%{build_cc} -Werror ${LDFLAGS} %{?extra_ldflags} main.o -o main
|
||||
|
||||
# Package notes not supported with clang, so the the build succeeding is enough.
|
||||
%if %{without clang}
|
||||
%check
|
||||
# avoid any attempt to access the network by readelf
|
||||
export DEBUGINFOD_URLS=
|
||||
|
||||
readelf --notes ./main | sed -r -n 's/.*Packaging Metadata: (.*)/\1/p' | tee package-note.text
|
||||
|
||||
test "`cat package-note.text | jq -r '[.type,.name,.version,.architecture]|join(" ")'`" == "rpm %{name} %{version}-%{release} %{_arch}"
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Aug 6 2022 Jane Doe <jane@example.org> - 1-1
|
||||
- Dummy
|
||||
Loading…
Reference in New Issue
Block a user