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 419106e5d1
commit 73db0e3921
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> Fri May 26 15:56:20 UTC 2023 - David Cassany <dcassany@suse.com>

View File

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