agama/service/package/gem2rpm.yml
Imobach González Sosa b913af2157
Fix packaging issues
* Fix dependency on D-Bus.
* Do not include the version in the D-Installer sources name.
* Fix cockpit-d-installer changelog.
2022-12-07 13:06:22 +00:00

29 lines
1.4 KiB
YAML

---
:sourceurl: "%{mod_full_name}.gem"
:preamble: |-
BuildRequires: dbus-1-common
Requires: dbus-1-common
Requires: snapper
Requires: yast2-bootloader
Requires: yast2-country
Requires: yast2-hardware-detection
Requires: yast2-installation
Requires: yast2-network
Requires: yast2-proxy
Requires: yast2-storage-ng
Requires: yast2-users
# yast2 with ArchFilter
Requires: yast2 >= 4.5.20
# ## used by gem2rpm
:post_install: |-
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/dbus.conf %{buildroot}%{_datadir}/dbus-1/system.d/org.opensuse.DInstaller.conf
install --directory %{buildroot}%{_datadir}/dbus-1/system-services
install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/system-services %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/org.opensuse.DInstaller*.service
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/systemd.service %{buildroot}%{_unitdir}/d-installer.service
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/etc/d-installer.yaml %{buildroot}%{_sysconfdir}/d-installer.yaml
# ## used by gem_packages
:main:
:filelist: "%{_datadir}/dbus-1/system.d/org.opensuse.DInstaller.conf\n
%{_datadir}/dbus-1/system-services/org.opensuse.DInstaller*.service\n
%{_unitdir}/d-installer.service\n
%{_sysconfdir}/d-installer.yaml\n"