https://bugzilla.redhat.com/show_bug.cgi?id=1997378
--- Comment #11 from mkulik(a)redhat.com ---
1. Fixed trailing spaces.
2. Yes, I agree.
3. Update spec file to 1.6.2. (bug fix release) (new issues, look docs section)
Another Changes:
* Fixed cond macros for sub-pkgs builds. Now, all builds correctly.
* Description for openssl-devel added.
* Added _unpackaged_files_terminate_build (This is only activated when we build
without jit extension, I would not put it in default build but for conditional,
not default arguments should be fine, avoiding not packed JIT extensions)
* Switch to bcond
About man files:
I know that removing spaces is not a great solution here but this is not a
problem on my side. Assuming that spaces in man files are allowed, example
'autopl example.1'
those files should be compressed by %install macro, they are not because of
this:
https://github.com/rpm-software-management/rpm/blob/master/scripts/brp-co...
this script won't handle files with special characters correctly.
I will try to solve it in upstream but that will take time and I need to choose
workaround for now. Here are my options:
- change spaces to '-' or '_' to satisfy brp script.
- compress man files manually in spec %install macro
- try to modify sources to generate names without spaces (Not a great solution
probably)
- add compression to Makefile in sources using patch file
I choose the 1st one, it seems like a good compromise until bug is fixed. Last
option also looks ok-ish but it will require more changes and it is more pron
to errors in the future (additional patch file).
About docs:
- Added %doc macro.
- upstream started using sphinx_rtd_theme_citus (fork of sphinx_rtd_theme). I
reverted it to official version using patch file. More comments in patch file.
- Fix files wildcard (compression .gz)
SPEC:
https://gist.githubusercontent.com/mkulik-rh/0899b8f07bb6fabeee0c7a94e7b8...
Patch0:
https://gist.githubusercontent.com/mkulik-rh/ace6f65a9bef641860e93bea7bbd...
SRPM:
https://copr-be.cloud.fedoraproject.org/results/mkulik/pg_auto_failover/s...
https://copr.fedorainfracloud.org/coprs/mkulik/pg_auto_failover/builds/
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1997378