[Bug 2292544] Review Request: rust-libusb1-sys - FFI bindings for libusb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Jonathan Steffan <jonathansteffan@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(decathorpe@gmail.
                   |                            |com)



--- Comment #7 from Jonathan Steffan <jonathansteffan@xxxxxxxxx> ---
Ha, and of course I was just working on this. How does this look?

```
diff --git a/rust-libusb1-sys.spec b/rust-libusb1-sys.spec
index 3c1af95..2397950 100644
--- a/rust-libusb1-sys.spec
+++ b/rust-libusb1-sys.spec
@@ -51,18 +51,6 @@ use the "default" feature of the "%{crate}" crate.
 %files       -n %{name}+default-devel
 %ghost %{crate_instdir}/Cargo.toml

-%package     -n %{name}+vendored-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+vendored-devel %{_description}
-
-This package contains library source intended for building other packages
which
-use the "vendored" feature of the "%{crate}" crate.
-
-%files       -n %{name}+vendored-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep
@@ -70,6 +58,9 @@ use the "vendored" feature of the "%{crate}" crate.
 %generate_buildrequires
 %cargo_generate_buildrequires

+# Remove vendored
+rm -r libusb
+
 %build
 %cargo_build
```


-- 
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=2292544

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202292544%23c7
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux