[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-09-11 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373

Peter Robinson  changed:

   What|Removed |Added

 Status|POST|CLOSED
 Resolution|--- |RAWHIDE
Last Closed||2020-09-11 16:33:12




-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-09-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373



--- Comment #9 from Gwyn Ciesla  ---
(fedscm-admin):  The Pagure repository was created at
https://src.fedoraproject.org/rpms/rust-prost-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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-09-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373

Robert-André Mauchin   changed:

   What|Removed |Added

 Status|NEW |POST
  Flags|needinfo?(zebo...@gmail.com |fedora-review+
   |)   |



--- Comment #8 from Robert-André Mauchin   ---
 - always add a comment above patch to explain what changes you made:

# Fix 
Patch1: prost-build-fix-metadata.diff

Package approved.


-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-09-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373

Peter Robinson  changed:

   What|Removed |Added

  Flags||needinfo?(zebo...@gmail.com
   ||)



--- Comment #7 from Peter Robinson  ---
Robert I think the latest update fixes everything.


-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-09-07 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373



--- Comment #6 from Peter Robinson  ---
SPEC: https://pbrobinson.fedorapeople.org/rust-prost-build.spec
SRPM: https://pbrobinson.fedorapeople.org/rust-prost-build-0.6.1-2.fc32.src.rpm

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=50959288


-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-09-07 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373
Bug 1872373 depends on bug 1872372, which changed state.

Bug 1872372 Summary: Review Request: rust-prost-types - Protocol Buffers 
implementation for the Rust Language
https://bugzilla.redhat.com/show_bug.cgi?id=1872372

   What|Removed |Added

 Status|POST|CLOSED
 Resolution|--- |RAWHIDE




-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-08-25 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373



--- Comment #5 from Robert-André Mauchin   ---
It should:

 Requires: protobuf-compiler

to work correctly.

And the crate depending on this one should also specify

export PROTOC=%{_bindir}/protoc


-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-08-25 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373



--- Comment #4 from Robert-André Mauchin   ---
The build.rs is helpful:

//! Finds the appropriate `protoc` binary and Protobuf include directory for
this host, and outputs
//! build directives so that the main `prost-build` crate can use them.
//!
//! The following locations are checked for `protoc` in decreasing priority:
//!
//! 1. The `PROTOC` environment variable.
//! 2. The bundled `protoc`.
//! 3. The `protoc` on the `PATH`.
//!
//! If no `protoc` binary is available in these locations, the build fails.
//!
//! The following locations are checked for the Protobuf include directory in
decreasing priority:
//!
//! 1. The `PROTOC_INCLUDE` environment variable.
//! 2. The bundled Protobuf include directory.

You should BR protobuf-compiler and protobuf-devel then define

export PROTOC=%{_bindir}/protoc
export PROTOC_INCLUDE=%{_includedir}

Not sure if the devel package should also Requires: protobuf-compiler to work
correctly.

You also need to exclude third_party in the Cargo.toml

# prost-build-fix-metadata.diff

--- prost-build-0.6.1/Cargo.toml1970-01-01T00:00:00+00:00
+++ prost-build-0.6.1/Cargo.toml2020-08-25T22:22:26.646471+00:00
@@ -20,6 +20,7 @@
 readme = "README.md"
 license = "Apache-2.0"
 repository = "https://github.com/danburkert/prost;
+exclude = ["/third-party"]
 [dependencies.bytes]
 version = "0.5"




 And:

Source: %{crates_source}
# Initial patched metadata
# - exclude /third-party from install
Patch0: prost-build-fix-metadata.diff


-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-08-25 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373



--- Comment #3 from Robert-André Mauchin   ---
Also the protobuf code is BSD and we can't ship precompiled binary


-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-08-25 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373



--- Comment #2 from Robert-André Mauchin   ---
 - You shouldn't bundle protobuf and shouldn't install it in a noarch package


ll
builddir/build/BUILDROOT/rust-prost-build-0.6.1-1.fc34.x86_64/usr/share/cargo/registry/prost-build-0.6.1/third-party/protobuf/
total 28472
-rw-r--r--. 1 mockbuild mock 1732 Jun 13  2019 LICENSE
drwxr-xr-x. 1 mockbuild mock   12 Aug 25 23:48 include
-rwxr-xr-x. 1 mockbuild mock  4974596 Jan 12  2020 protoc-linux-aarch_64
-rwxr-xr-x. 1 mockbuild mock  4684564 Aug 25 23:50 protoc-linux-x86_32
-rwxr-xr-x. 1 mockbuild mock  5068568 Aug 25 23:50 protoc-linux-x86_64
-rwxr-xr-x. 1 mockbuild mock 11773784 Jan 12  2020 protoc-osx-x86_64
-rwxr-xr-x. 1 mockbuild mock  2639360 Jan 12  2020 protoc-win32.exe


-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-08-25 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373

Robert-André Mauchin   changed:

   What|Removed |Added

 CC||zebo...@gmail.com
   Assignee|nob...@fedoraproject.org|zebo...@gmail.com



--- Comment #1 from Robert-André Mauchin   ---
I've got this error at the end of the build:


RPM build errors:
error: Arch dependent binaries in noarch package
Arch dependent binaries in noarch package


-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org


[Bug 1872373] Review Request: rust-prost-build - Protocol Buffers implementation for the Rust Language

2020-08-25 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1872373

Peter Robinson  changed:

   What|Removed |Added

 Blocks||1862796
   ||(rust-parsec-interface)
 Depends On||1872372 (rust-prost-types)
  Alias||rust-prost-build
   Doc Type|--- |If docs needed, set a value





Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1862796
[Bug 1862796] Review Request: rust-parsec-interface - Parsec interface library
to communicate using the wire protocol
https://bugzilla.redhat.com/show_bug.cgi?id=1872372
[Bug 1872372] Review Request: rust-prost-types - Protocol Buffers
implementation for the Rust Language
-- 
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
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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@lists.fedoraproject.org