diff --git a/metpx-sr3.spec b/metpx-sr3.spec index c089a70ed..20e3ae5ff 100644 --- a/metpx-sr3.spec +++ b/metpx-sr3.spec @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 6129f7642..295a4036f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/requirements.txt b/requirements.txt index 35f1fbddc..443f36940 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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'