[GH-ISSUE #648] rpm package generation #368

Closed
opened 2026-03-04 01:44:50 +03:00 by kerem · 1 comment
Owner

Originally created by @dreampuf on GitHub (Sep 20, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/648

This request is for an rpm package generation. Do you mind to add a rpm in the release page?

$ find .
.
./usr
./usr/local
./usr/local/bin
./usr/local/bin/s3fs
./usr/local/share
./usr/local/share/man
./usr/local/share/man/man1
./usr/local/share/man/man1/s3fs.1
$ docker run --rm -it -v "$PWD":/opt/s3fs -w /opt/s3fs tenzer/fpm -s dir -t rpm -n s3fs -v 1.82 --iteration 1 --prefix / -C . --description "s3fs allows Linux to mount an S3 bucket via FUSE." --rpm-summary "s3fs allows Linux to mount an S3 bucket via FUSE." --url "https://github.com/s3fs-fuse/s3fs-fuse" -d fuse -d fuse-devel
Created package {:path=>"s3fs-1.82-1.x86_64.rpm"}
$ docker run --rm -it -v "$PWD":/opt -w /opt centos bash
[root@86b44cdd0dea opt]# l
bash: l: command not found
[root@86b44cdd0dea opt]# sl
bash: sl: command not found
[root@86b44cdd0dea opt]# ls
s3fs-1.82-1.x86_64.rpm  usr
[root@86b44cdd0dea opt]# yum localinstall ./s3fs-1.82-1.x86_64.rpm
Loaded plugins: fastestmirror, ovl
Examining ./s3fs-1.82-1.x86_64.rpm: s3fs-1.82-1.x86_64
Marking ./s3fs-1.82-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package s3fs.x86_64 0:1.82-1 will be installed
--> Processing Dependency: fuse for package: s3fs-1.82-1.x86_64
base                                                                                                                                                                                 | 3.6 kB  00:00:00
extras                                                                                                                                                                               | 3.4 kB  00:00:00
updates                                                                                                                                                                              | 3.4 kB  00:00:00
(1/4): extras/7/x86_64/primary_db                                                                                                                                                    | 101 kB  00:00:01
(2/4): base/7/x86_64/group_gz                                                                                                                                                        | 156 kB  00:00:01
(3/4): base/7/x86_64/primary_db                                                                                                                                                      | 5.7 MB  00:00:04
(4/4): updates/7/x86_64/primary_db                                                                                                                                                   | 2.8 MB  00:00:19
Determining fastest mirrors
 * base: mirrors.nwsuaf.edu.cn
 * extras: mirrors.shuosc.org
 * updates: mirrors.163.com
--> Processing Dependency: fuse-devel for package: s3fs-1.82-1.x86_64
--> Running transaction check
---> Package fuse.x86_64 0:2.9.2-8.el7 will be installed
--> Processing Dependency: which for package: fuse-2.9.2-8.el7.x86_64
---> Package fuse-devel.x86_64 0:2.9.2-8.el7 will be installed
--> Processing Dependency: fuse-libs = 2.9.2-8.el7 for package: fuse-devel-2.9.2-8.el7.x86_64
--> Processing Dependency: libulockmgr.so.1()(64bit) for package: fuse-devel-2.9.2-8.el7.x86_64
--> Processing Dependency: libfuse.so.2()(64bit) for package: fuse-devel-2.9.2-8.el7.x86_64
--> Running transaction check
---> Package fuse-libs.x86_64 0:2.9.2-8.el7 will be installed
---> Package which.x86_64 0:2.20-7.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                        Arch                                       Version                                            Repository                                               Size
============================================================================================================================================================================================================
Installing:
 s3fs                                           x86_64                                     1.82-1                                             /s3fs-1.82-1.x86_64                                     4.4 M
Installing for dependencies:
 fuse                                           x86_64                                     2.9.2-8.el7                                        base                                                     85 k
 fuse-devel                                     x86_64                                     2.9.2-8.el7                                        base                                                     37 k
 fuse-libs                                      x86_64                                     2.9.2-8.el7                                        base                                                     93 k
 which                                          x86_64                                     2.20-7.el7                                         base                                                     41 k

Transaction Summary
============================================================================================================================================================================================================
Install  1 Package (+4 Dependent packages)

Total size: 4.7 M
Total download size: 256 k
Installed size: 5.1 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/which-2.20-7.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY                                        ]  0.0 B/s |    0 B  --:--:-- ETA
Public key for which-2.20-7.el7.x86_64.rpm is not installed
(1/4): which-2.20-7.el7.x86_64.rpm                                                                                                                                                   |  41 kB  00:00:00
(2/4): fuse-2.9.2-8.el7.x86_64.rpm                                                                                                                                                   |  85 kB  00:00:00
(3/4): fuse-libs-2.9.2-8.el7.x86_64.rpm                                                                                                                                              |  93 kB  00:00:00
(4/4): fuse-devel-2.9.2-8.el7.x86_64.rpm                                                                                                                                             |  37 kB  00:00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                       258 kB/s | 256 kB  00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-4.1708.el7.centos.x86_64 (@CentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : which-2.20-7.el7.x86_64                                                                                                                                                                  1/5
install-info: No such file or directory for /usr/share/info/which.info.gz
  Installing : fuse-2.9.2-8.el7.x86_64                                                                                                                                                                  2/5
  Installing : fuse-libs-2.9.2-8.el7.x86_64                                                                                                                                                             3/5
  Installing : fuse-devel-2.9.2-8.el7.x86_64                                                                                                                                                            4/5
  Installing : s3fs-1.82-1.x86_64                                                                                                                                                                       5/5
  Verifying  : fuse-devel-2.9.2-8.el7.x86_64                                                                                                                                                            1/5
  Verifying  : fuse-libs-2.9.2-8.el7.x86_64                                                                                                                                                             2/5
  Verifying  : which-2.20-7.el7.x86_64                                                                                                                                                                  3/5
  Verifying  : s3fs-1.82-1.x86_64                                                                                                                                                                       4/5
  Verifying  : fuse-2.9.2-8.el7.x86_64                                                                                                                                                                  5/5

Installed:
  s3fs.x86_64 0:1.82-1

Dependency Installed:
  fuse.x86_64 0:2.9.2-8.el7                       fuse-devel.x86_64 0:2.9.2-8.el7                       fuse-libs.x86_64 0:2.9.2-8.el7                       which.x86_64 0:2.20-7.el7

Complete!
[root@86b44cdd0dea opt]# s3fs --version
Amazon Simple Storage Service File System V1.82(commit:f4515b5) with OpenSSL
Copyright (C) 2010 Randy Rizun <rrizun@gmail.com>
License GPL2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Originally created by @dreampuf on GitHub (Sep 20, 2017). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/648 This request is for an rpm package generation. Do you mind to add a rpm in the release page? ``` $ find . . ./usr ./usr/local ./usr/local/bin ./usr/local/bin/s3fs ./usr/local/share ./usr/local/share/man ./usr/local/share/man/man1 ./usr/local/share/man/man1/s3fs.1 $ docker run --rm -it -v "$PWD":/opt/s3fs -w /opt/s3fs tenzer/fpm -s dir -t rpm -n s3fs -v 1.82 --iteration 1 --prefix / -C . --description "s3fs allows Linux to mount an S3 bucket via FUSE." --rpm-summary "s3fs allows Linux to mount an S3 bucket via FUSE." --url "https://github.com/s3fs-fuse/s3fs-fuse" -d fuse -d fuse-devel Created package {:path=>"s3fs-1.82-1.x86_64.rpm"} $ docker run --rm -it -v "$PWD":/opt -w /opt centos bash [root@86b44cdd0dea opt]# l bash: l: command not found [root@86b44cdd0dea opt]# sl bash: sl: command not found [root@86b44cdd0dea opt]# ls s3fs-1.82-1.x86_64.rpm usr [root@86b44cdd0dea opt]# yum localinstall ./s3fs-1.82-1.x86_64.rpm Loaded plugins: fastestmirror, ovl Examining ./s3fs-1.82-1.x86_64.rpm: s3fs-1.82-1.x86_64 Marking ./s3fs-1.82-1.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package s3fs.x86_64 0:1.82-1 will be installed --> Processing Dependency: fuse for package: s3fs-1.82-1.x86_64 base | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/4): extras/7/x86_64/primary_db | 101 kB 00:00:01 (2/4): base/7/x86_64/group_gz | 156 kB 00:00:01 (3/4): base/7/x86_64/primary_db | 5.7 MB 00:00:04 (4/4): updates/7/x86_64/primary_db | 2.8 MB 00:00:19 Determining fastest mirrors * base: mirrors.nwsuaf.edu.cn * extras: mirrors.shuosc.org * updates: mirrors.163.com --> Processing Dependency: fuse-devel for package: s3fs-1.82-1.x86_64 --> Running transaction check ---> Package fuse.x86_64 0:2.9.2-8.el7 will be installed --> Processing Dependency: which for package: fuse-2.9.2-8.el7.x86_64 ---> Package fuse-devel.x86_64 0:2.9.2-8.el7 will be installed --> Processing Dependency: fuse-libs = 2.9.2-8.el7 for package: fuse-devel-2.9.2-8.el7.x86_64 --> Processing Dependency: libulockmgr.so.1()(64bit) for package: fuse-devel-2.9.2-8.el7.x86_64 --> Processing Dependency: libfuse.so.2()(64bit) for package: fuse-devel-2.9.2-8.el7.x86_64 --> Running transaction check ---> Package fuse-libs.x86_64 0:2.9.2-8.el7 will be installed ---> Package which.x86_64 0:2.20-7.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================================================================ Installing: s3fs x86_64 1.82-1 /s3fs-1.82-1.x86_64 4.4 M Installing for dependencies: fuse x86_64 2.9.2-8.el7 base 85 k fuse-devel x86_64 2.9.2-8.el7 base 37 k fuse-libs x86_64 2.9.2-8.el7 base 93 k which x86_64 2.20-7.el7 base 41 k Transaction Summary ============================================================================================================================================================================================================ Install 1 Package (+4 Dependent packages) Total size: 4.7 M Total download size: 256 k Installed size: 5.1 M Is this ok [y/d/N]: y Downloading packages: warning: /var/cache/yum/x86_64/7/base/packages/which-2.20-7.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ] 0.0 B/s | 0 B --:--:-- ETA Public key for which-2.20-7.el7.x86_64.rpm is not installed (1/4): which-2.20-7.el7.x86_64.rpm | 41 kB 00:00:00 (2/4): fuse-2.9.2-8.el7.x86_64.rpm | 85 kB 00:00:00 (3/4): fuse-libs-2.9.2-8.el7.x86_64.rpm | 93 kB 00:00:00 (4/4): fuse-devel-2.9.2-8.el7.x86_64.rpm | 37 kB 00:00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 258 kB/s | 256 kB 00:00:00 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>" Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-4.1708.el7.centos.x86_64 (@CentOS) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Is this ok [y/N]: y Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : which-2.20-7.el7.x86_64 1/5 install-info: No such file or directory for /usr/share/info/which.info.gz Installing : fuse-2.9.2-8.el7.x86_64 2/5 Installing : fuse-libs-2.9.2-8.el7.x86_64 3/5 Installing : fuse-devel-2.9.2-8.el7.x86_64 4/5 Installing : s3fs-1.82-1.x86_64 5/5 Verifying : fuse-devel-2.9.2-8.el7.x86_64 1/5 Verifying : fuse-libs-2.9.2-8.el7.x86_64 2/5 Verifying : which-2.20-7.el7.x86_64 3/5 Verifying : s3fs-1.82-1.x86_64 4/5 Verifying : fuse-2.9.2-8.el7.x86_64 5/5 Installed: s3fs.x86_64 0:1.82-1 Dependency Installed: fuse.x86_64 0:2.9.2-8.el7 fuse-devel.x86_64 0:2.9.2-8.el7 fuse-libs.x86_64 0:2.9.2-8.el7 which.x86_64 0:2.20-7.el7 Complete! [root@86b44cdd0dea opt]# s3fs --version Amazon Simple Storage Service File System V1.82(commit:f4515b5) with OpenSSL Copyright (C) 2010 Randy Rizun <rrizun@gmail.com> License GPL2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ```
kerem closed this issue 2026-03-04 01:44:50 +03:00
Author
Owner

@gaul commented on GitHub (Sep 20, 2017):

@dreampuf We would happily host an RPM spec file if you send a pull request. However, getting this into distributions' package repositories is outside the scope of this project. @jollyroger did the work of getting s3fs into Debian in #29 and it would be great if you could get the ball rolling with Fedora and and EPEL.

<!-- gh-comment-id:330890873 --> @gaul commented on GitHub (Sep 20, 2017): @dreampuf We would happily host an RPM spec file if you send a pull request. However, getting this into distributions' package repositories is outside the scope of this project. @jollyroger did the work of getting s3fs into Debian in #29 and it would be great if you could get the ball rolling with Fedora and and EPEL.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#368
No description provided.