Sync from SUSE:ALP:Source:Standard:1.0 elemental-post-build-extract-iso revision 819fd66d1807354d4d7d3f2fcb751917

This commit is contained in:
Adrian Schröter 2024-04-15 17:15:38 +02:00
parent 89b4f36cb5
commit e4111e657c
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 2 09:42:17 UTC 2024 - Klaus Kämpf <kkaempf@suse.com>
- install to /usr/lib/build/post_build.d
-------------------------------------------------------------------
Fri May 26 15:56:20 UTC 2023 - David Cassany <dcassany@suse.com>

View File

@ -23,6 +23,8 @@ Version: 0.4
Release: 0
Requires: buildah
%define post_build_dir /usr/lib/build/post_build.d
Source0: extract-iso.sh
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -37,13 +39,13 @@ cp %{S:0} .
%build
%install
install -D -m 755 extract-iso.sh $RPM_BUILD_ROOT/usr/lib/build/post-build-checks/50-elemental-extract-iso
install -D -m 755 extract-iso.sh $RPM_BUILD_ROOT%{post_build_dir}/50-elemental-extract-iso
%files
%defattr(-, root, root)
%dir /usr/lib/build
%dir /usr/lib/build/post-build-checks
/usr/lib/build/post-build-checks/50-elemental-extract-iso
%dir %{post_build_dir}
%{post_build_dir}/50-elemental-extract-iso
%changelog