X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc.spec;h=96e64ea0be9cc1e5680a691994e609b6b0db0a91;hb=51e257f832250a9cafc2d5c5d307dd864b15c3f7;hp=425f53de773621bf94a116ae226042a618495514;hpb=0a44b2253322be666bf1355b50228ef31175b841;p=myplc.git diff --git a/myplc.spec b/myplc.spec index 425f53d..96e64ea 100644 --- a/myplc.spec +++ b/myplc.spec @@ -70,11 +70,7 @@ Requires: plewww # this technically is a plcapi dependency # but it's simpler here for chosing which -%if "%{distro}" == "Fedora" && %{distrorelease} >= 29 Requires: python3-mod_wsgi -%else -Requires: mod_wsgi -%endif # this technically is a plewww dependency # starting with f27 we depend on this new rpm @@ -139,7 +135,7 @@ rm -rf $RPM_BUILD_ROOT # Install configuration scripts echo "* Installing plc_config.py in %{python3_sitelib}" -install -D -m 755 plc_config.py ${RPM_BUILD_ROOT}/%{python3_sitelib} +install -D -m 755 plc_config.py ${RPM_BUILD_ROOT}/%{python3_sitelib}/plc_config.py echo "* Installing scripts in /usr/bin" mkdir -p ${RPM_BUILD_ROOT}/usr/bin