]> git.pld-linux.org Git - packages/python-ruamel.yaml.git/commitdiff
ruamel dir ownership moved to base, package %{pysitedir}/ruamel/yaml dir; rel 2 auto/th/python-ruamel.yaml-0.16.6-2
authorJan Palus <atler@pld-linux.org>
Sat, 1 Feb 2020 17:32:09 +0000 (18:32 +0100)
committerJan Palus <atler@pld-linux.org>
Sat, 1 Feb 2020 17:32:09 +0000 (18:32 +0100)
python-ruamel.yaml.spec

index 6048b3c9de16b20de836858079896ceef5b4478d..0c6a21bd295be28ee95dd2343d300777db705f23 100644 (file)
@@ -7,7 +7,7 @@
 Summary:       YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style and map key order
 Name:          python-%{module}
 Version:       0.16.6
-Release:       1
+Release:       2
 License:       MIT
 Group:         Libraries/Python
 #Source0Download: https://pypi.org/simple/ruamel.yaml/
@@ -57,12 +57,16 @@ seq/map flow style and map key order.
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
+install -d $RPM_BUILD_ROOT%{py_sitedir}/ruamel/yaml
+
 %py_install
 
 %py_postclean
 %endif
 
 %if %{with python3}
+install -d $RPM_BUILD_ROOT%{py3_sitedir}/ruamel/yaml
+
 %py3_install
 %endif
 
@@ -73,16 +77,18 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README.rst
-%{py_sitescriptdir}/ruamel
+%{py_sitescriptdir}/ruamel/yaml
 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %{py_sitescriptdir}/%{module}-%{version}-py*-nspkg.pth
+%dir %{py_sitedir}/ruamel/yaml
 %endif
 
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
 %doc CHANGES README.rst
-%{py3_sitescriptdir}/ruamel
+%{py3_sitescriptdir}/ruamel/yaml
 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %{py3_sitescriptdir}/%{module}-%{version}-py*-nspkg.pth
+%dir %{py3_sitedir}/ruamel/yaml
 %endif
This page took 0.119104 seconds and 4 git commands to generate.