[Bug 2189083] Review Request: juicefs - a distributed POSIX file system built on top of Redis and S3.

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

 



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



--- Comment #9 from Herald <yuhr123@xxxxxxxxx> ---
Through some attempts, I have found a method to package all dependencies into
the .src.rpm. The workflow is as follows:

1. Still using this spec file: 

https://download.copr.fedorainfracloud.org/results/herald/juicefs/fedora-rawhide-x86_64/06384271-juicefs/juicefs.spec

2. Download the source code and create a source package that includes the
vendor directory.

```sh
spectool -g juicefs.spec
```

Above will download the source code named v1.1.0.tar.gz, we need to unzip it
and then download the mods.

```sh
tar xvf v1.1.0.tar.gz
cd juicefs-1.1.0
go mod vendor
```

This will download all the dependent packages to the vendor directory of the
source code, now recreate a tar.gz file which has vendor directory:

```sh
tar zcvf v1.1.0.tar.gz juicefs-1.1.0
```

3. Test to building in mock environment.

```sh
fedpkg mockbuild
```

In this way, you will see that it can be successfully compiled without the need
to download any dependencies during the process.

Can we use this approach?


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

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202189083%23c9
_______________________________________________
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