Hello, All!
I'm trying to build 'package+package-devel' pair via OBS and there are two problematic issues I have faced with.
[0] https://build.opensuse.org/package/show/home:k_mikhail/GOST34.11-2012
1) If to cut all fragments about package-devel off from spec-file ([1] http://paste.opensuse.org/60953485), initial package gets built successfully for all distros (CentOS, Fedora, Scientific, Mageia, variable versions of SLE and openSUSE). Brilliant!
2) If to add fragments about package-devel back to spec-file ([2] http://paste.opensuse.org/30292476), all RedHat-based distros handle this new spec OK, instead of entire (open-)SUSE line, which diagnose:
===== [ 69s] GOST34.11-2012-devel-0.12-32.1.x86_64.rpm: directories not owned by a package: [ 69s] - /usr/include/gost3411-2012 =====
although, e.g.: mkdir -p %{buildroot}%{_mandir}/man1 and install is OK, but mkdir -p %{buildroot}%{_includedir}/gost3411-2012 and install do not give the result.
specs_diff: [3] http://paste.opensuse.org/88758762
I'm aware of %dir, but there is no need of it for [1] for some reason and, for unknown reason, it is needed for [2]. That is also the interesting question...
The second issue is for openSUSE_Leap_15.0 x86_64: blocked. Why?
Thanks for your hints and help!
Solved via further experiments.
Sorry for making noise in ML.
22 апреля 2018 г. 18:48:11 GMT+03:00, Mikhail Kasimov mikhail.kasimov@gmail.com пишет:
Hello, All!
I'm trying to build 'package+package-devel' pair via OBS and there are two problematic issues I have faced with.
[0] https://build.opensuse.org/package/show/home:k_mikhail/GOST34.11-2012
- If to cut all fragments about package-devel off from spec-file ([1]
http://paste.opensuse.org/60953485), initial package gets built successfully for all distros (CentOS, Fedora, Scientific, Mageia, variable versions of SLE and openSUSE). Brilliant!
- If to add fragments about package-devel back to spec-file ([2]
http://paste.opensuse.org/30292476), all RedHat-based distros handle this new spec OK, instead of entire (open-)SUSE line, which diagnose:
===== [ 69s] GOST34.11-2012-devel-0.12-32.1.x86_64.rpm: directories not owned by a package: [ 69s] - /usr/include/gost3411-2012 =====
although, e.g.: mkdir -p %{buildroot}%{_mandir}/man1 and install is OK, but mkdir -p %{buildroot}%{_includedir}/gost3411-2012 and install do not give the result.
specs_diff: [3] http://paste.opensuse.org/88758762
I'm aware of %dir, but there is no need of it for [1] for some reason and, for unknown reason, it is needed for [2]. That is also the interesting question...
The second issue is for openSUSE_Leap_15.0 x86_64: blocked. Why?
Thanks for your hints and help!