https://bugzilla.redhat.com/show_bug.cgi?id=2435440

            Bug ID: 2435440
           Summary: Review Request: rust-droid-juicer - Extract firmware
                    from Android vendor partitions
           Product: Fedora
           Version: rawhide
          Hardware: All
                OS: Linux
            Status: NEW
         Component: Package Review
          Severity: medium
          Priority: medium
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---
    Classification: Fedora



Spec URL: https://samcday.fedorapeople.org/rust-droid-juicer.spec
SRPM URL:
https://download.copr.fedorainfracloud.org/results/samcday/droid-juicer/fedora-rawhide-x86_64/10077364-rust-droid-juicer/rust-droid-juicer-0.4.1-2.fc44.src.rpm
Description: Extract firmware from Android vendor partitions
Fedora Account System Username: samcday

---

This rust2rpm.toml was used to produce the spec:

```
[package]
summary = "Extract firmware from Android vendor partitions"
description = """\
droid-juicer extracts binary firmware from Android vendor partitions and
installs it into /lib/firmware, avoiding redistributing vendor blobs.
"""
extra-files = [
    "%config(noreplace) %{_sysconfdir}/droid-juicer/config.toml",
    "%dir %{_sysconfdir}/droid-juicer",
    "%{_unitdir}/droid-juicer.service",
    "%dir %{_datadir}/droid-juicer",
    "%dir %{_datadir}/droid-juicer/configs",
    "%{_datadir}/droid-juicer/configs/*.toml",
]
bin-package-extra = """\
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd

%post
%systemd_post droid-juicer.service

%preun
%systemd_preun droid-juicer.service

%postun
%systemd_postun_with_restart droid-juicer.service
"""

[[package.extra-patches]]
number = 2
file = "bump-goblin-to-0.10.patch"

[scripts]
install.post = [
    "install -Dpm 0644 droid-juicer.service
%{buildroot}%{_unitdir}/droid-juicer.service",
    "install -Dpm 0644 config.toml.sample
%{buildroot}%{_sysconfdir}/droid-juicer/config.toml",
    "mkdir -p %{buildroot}%{_datadir}/droid-juicer/configs/",
    "install -Dpm 0644 configs/*.toml
%{buildroot}%{_datadir}/droid-juicer/configs/",
]

[requires]
build = ["systemd-rpm-macros"]
```


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2435440

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202435440%23c0

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to