Commit Graph

401 Commits

Author SHA1 Message Date
Yaakov Selkowitz
f962933f8a Drop superfluous handling of bash and zsh completion files
/usr/share/bash-completion/completions is owned by the ubiquitous
filesystem package (and bash-completion). This package shouldn't own it.

/usr/share/bash-completion/completions/hg is already installed by
setup.py . zsh is also installed by setup.py, but as _hg . List both
files with the right macros and explicitly, even though it temporarily
will list the files twice since they also are in the file list.

This change was isolated and documented (and obfuscated?) by Mads Kiilerich.
2023-11-09 01:02:40 +01:00
Yaakov Selkowitz
b94d33fc2f Use %_prefix when installing chg
%_prefix is usually /usr . But it is a "thing" to build with a custom
%_prefix, and that should put all/most files under that prefix instead
of /usr . Other macros like %_mandir will change accordingly.

There is also %_usr , but that is apparently a pointless macro that
always is /usr . We should avoid using %_usr, and use %_prefix instead.

Flatpak builds set a custom %_prefix, and when chg was installed into
%_usr/bin it failed as described on
https://docs.fedoraproject.org/en-US/flatpak/troubleshooting/#_files_outside_of_app .
Change the spec to install chg in %_prefix/bin .

This change was isolated and documented (and obfuscated?) by Mads
Kiilerich.
2023-11-09 01:02:40 +01:00
Mads Kiilerich
9562d17014 Fix man file pattern when building with custom _prefix
Man pages are usually compressed and gets the .gz extension when
rpmbuild invokes /usr/lib/rpm/brp-compress . But even though %_mandir is
%{_datadir}/man and %_datadir is %{_prefix}/share , brp-compress isn't
informed about the actual _prefix and will always only process /usr .
That seems like a bug. For now, we will work around it.

Building with custom _prefix seems to be essentially what flatpak is
doing, but I don't know if that is an actual problem there. Being able
to build with a custom _prefix seems like a fine goal anyway. It is not
a problem to relax the globs.

This is also documented on
https://docs.fedoraproject.org/en-US/flatpak/troubleshooting/#_uncompressed_manual_pages .
2023-11-09 01:02:35 +01:00
Mads Kiilerich
fa0932867b mercurial 6.5.3 2023-11-08 21:52:21 +01:00
Mads Kiilerich
68fd5a2df8 mercurial 6.5.1 2023-08-08 00:15:28 +02:00
Fedora Release Engineering
943a79a19d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 14:15:21 +00:00
Mads Kiilerich
ae0da6552d mercurial 6.5 2023-07-07 05:29:42 +02:00
Miro Hrončok
d825c0a0f2 Use zombie-imp as a stopgap measure for missing imp module 2023-06-29 19:00:47 +02:00
Python Maint
f021da6e23 Rebuilt for Python 3.12 2023-06-26 13:59:22 +02:00
Mads Kiilerich
664590c0b7 mercurial 6.4.5 2023-06-22 13:17:47 +02:00
Python Maint
2bab387932 Rebuilt for Python 3.12 2023-06-14 00:42:41 +02:00
Mads Kiilerich
d7101bb69f mercurial 6.4.4 2023-06-09 01:03:57 +02:00
Mads Kiilerich
8a57f66ffc mercurial 6.4.3 2023-05-04 14:37:46 +02:00
Mads Kiilerich
c7c294c3fb mercurial 6.4.2 2023-04-18 12:48:52 +02:00
Mads Kiilerich
ac533b1988 mercurial 6.4.1 2023-04-13 14:42:44 +02:00
Mads Kiilerich
f8c059cb5b mercurial-6.4-2 2023-04-08 20:57:45 +02:00
Mads Kiilerich
473c8d53de Use bytes-cast 0.3.0 - drop patching 2023-04-08 20:53:51 +02:00
Mads Kiilerich
02c76a1b47 mercurial 6.4 2023-04-08 16:53:41 +02:00
Mads Kiilerich
d0eb857190 mercurial 6.3.3 2023-03-02 16:41:10 +01:00
Fabio Valentini
5716bdf623
bump zstd crate dependency from 0.11 to 0.12 2023-02-23 20:12:11 +01:00
Fabio Valentini
2ad436b413
Rebuild for fixed frame pointer compiler flags in Rust RPM macros 2023-02-05 20:21:46 +01:00
Fedora Release Engineering
6a04c33460 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 19:22:41 +00:00
Mads Kiilerich
7c27423a04 mercurial 6.3.2 2023-01-04 13:29:59 +01:00
Lumir Balhar
d795ce2c0a Change location of pathfix.py
For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
2022-12-20 11:37:02 +00:00
Mads Kiilerich
e03b0a505a mercurial 6.3.1 2022-11-19 22:46:44 +01:00
Mads Kiilerich
8866eeaa64 mercurial 6.3.0 2022-11-14 12:27:42 +01:00
Mads Kiilerich
d36fab1f31 mercurial 6.2.3 2022-10-04 12:43:05 +02:00
Mads Kiilerich
0e09815a48 mercurial 6.2.2 2022-09-04 12:00:43 +02:00
Fabio Valentini
166a735cf2
bump zstd crate dependency from 0.10 to 0.11 2022-08-06 22:39:00 +02:00
Mads Kiilerich
93aa4c71b1 Own .egg-info as directory, as introduced by setuptools 60 (#2115906) 2022-08-06 22:02:59 +02:00
Mads Kiilerich
ffedc5c6af mercurial 6.2.1 2022-07-28 22:33:26 +02:00
Fedora Release Engineering
1d79441cb7 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 20:57:07 +00:00
Mads Kiilerich
a18ecea56f Update sources with mercurial-6.2.tar.gz 2022-07-11 18:11:51 +02:00
Mads Kiilerich
d3b863b122 mercurial 6.2 2022-07-11 18:04:12 +02:00
Mads Kiilerich
d89037fae5 Fix build after upstream applied patch 2022-07-11 16:27:33 +02:00
Mads Kiilerich
d442833c25 merge mercurial 6.1.4 2022-06-16 15:55:31 +02:00
Mads Kiilerich
e573612847 mercurial 6.1.4 2022-06-16 15:32:38 +02:00
Python Maint
3bd50eafa0 Rebuilt for Python 3.11 2022-06-14 08:29:31 +02:00
Mads Kiilerich
30ef05c293 work around too narrow im-rc version constraint 2022-06-03 12:00:22 +02:00
Mads Kiilerich
ee6f824869 mercurial 6.1.3 2022-06-03 01:28:22 +02:00
Mads Kiilerich
170019e0d8 mercurial 6.1.3 2022-06-03 01:26:38 +02:00
Stefan Bluhm
2ea52bd072 Update mercurial.spec 2022-05-24 05:57:11 +00:00
Mads Kiilerich
739a392e82 Rust dependency catch-up 2022-05-13 14:40:52 +02:00
Mads Kiilerich
cef36461a8 Drop patch for rust-which 4.2.4 - Fedora updated to 4.2.5 2022-05-13 14:29:17 +02:00
Mads Kiilerich
3fc8c61755 Drop patching of ouroboros version
Fedora now carries rust-ouroboros-devel-0.15.0-1 .
2022-05-06 23:48:58 +02:00
Mads Kiilerich
84273987af Downgrade new "which" dependency from 4.2.5 to the available 4.2.4 2022-05-05 08:35:04 +02:00
Mads Kiilerich
cea5a508e9 Merge branch 'f36' into rawhide 2022-05-05 08:08:03 +02:00
Mads Kiilerich
ce600e0b06 mercurial 6.1.2 2022-05-05 08:06:34 +02:00
Mads Kiilerich
2b8b0769cf Address some rpmlint issues 2022-05-03 17:10:48 +02:00
Mads Kiilerich
6d9997e628 Make cgi scripts in docs not executable
Fix rpmlint issues:
  E: env-script-interpreter /usr/share/doc/mercurial/hgweb.cgi /usr/bin/env python3
  E: env-script-interpreter /usr/share/doc/mercurial/hgweb.fcgi /usr/bin/env python3

Also be more explicit about which cgi files we ship as documentation.
2022-05-03 16:46:25 +02:00