Skip to content

Commit

Permalink
more changes for #740 rpm generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Jan 6, 2024
1 parent 05fcd07 commit a30ceef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metpx-sr3.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Source: %{url}/archive/v%{version}/metpx-sr3-%{version}.tar.gz / %{pypi_
BuildArch: noarch / BuildRequires: gcc
BuildRequires: python3-devel

Requires: python3-appdirs, python3-humanfriendly, python3-humanize, python3-jsonpickle, python3-paramiko, python3-psutil
Requires: python3-appdirs, python3-humanfriendly, python3-humanize, python3-jsonpickle, python3-paramiko, python3-psutil, python3-xattr

%global _description %{expand:
MetPX-sr3 (Sarracenia v3) is a data duplication or distribution pump that leverage
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ dependencies =[
'python-magic-bin; sys_platform == "win32"'
]

# NOTE:
# on Redhat, when building an rpm, need to replace the
# python-magic (last two lines of dependencies above )
# by either nothing (older releases) or *file-magic* (fc39
# 'file-magic'

[project.scripts]
sr3 = "sarracenia.sr:main"
sr3_post = "sarracenia.sr_post:main"
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ paramiko
psutil>=5.3.0
watchdog
xattr; sys_platform!='win32'
python-magic; sys_platform!='win32'
python-magic-bin; sys_platform=='win32'
#python-magic; sys_platform!='win32'
#python-magic-bin; sys_platform=='win32'

0 comments on commit a30ceef

Please sign in to comment.