Commit Graph

485 Commits

Author SHA1 Message Date
Lukáš Zaoral
e54e0afb41
tests: fix URL to internal tests repo
Fixes the following error when discovering/running tests locally:
```
$ tmt -v --context 'distro=rhel-10' run discover
/var/tmp/tmt/run-515
Found 1 plan.

/plans/tier1-internal
    discover
        how: fmf
        order: 50
        url: https://gitlab.com/redhat/rhel/tests/emacs.git
        fail: Command 'git clone https://gitlab.com/redhat/rhel/tests/emacs.git /var/tmp/tmt/run-515/plans/tier1-internal/discover/default-0/tests' returned 128.
```
2024-09-18 13:33:20 +02:00
Jacek Migacz
3043ef2605 Unset custom linker flags
Related: RHEL-33495
2024-08-22 11:57:39 +02:00
Jacek Migacz
a9e5a8f647 Improve the security of the generated code by hardening
Resolves: RHEL-33495
2024-08-22 09:09:17 +02:00
Jacek Migacz
df50ad7084 Disable Native-Compilation feature
Resolves: RHEL-55467
Related: RHEL-33495
2024-08-22 00:41:35 +02:00
Jacek Migacz
fbb8fa6e52 Rebase to version 29.4
Resolves: RHEL-52880
2024-08-07 07:51:07 +00:00
Frantisek Sumsal
c382be77b8 Add gating configuration for C10S/RHEL10 2024-08-06 08:37:17 +00:00
Troy Dawson
23cbf4cf13 Bump release for June 2024 mass rebuild 2024-06-24 08:41:22 -07:00
Pavol Žáčik
05400fcef7
Remove liblockfile dependency
Resolves: RHEL-34677
2024-04-29 13:23:18 +02:00
Yaakov Selkowitz
6a7849921b Disable gpm on ELN
gpm is unwanted in RHEL 10:

https://github.com/minimization/content-resolver-input/pull/1084
2024-02-06 13:08:45 -05:00
Fedora Release Engineering
e99b18145c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 10:17:06 +00:00
Peter Oliver
88b50bfe26 Remember to update sources. 2024-01-22 19:41:31 +00:00
Peter Oliver
bc0c012fb9 Update to version 29.2 2024-01-22 19:36:42 +00:00
Peter Oliver
e207621728 Merge #37 Add -W option to %_emacs_bytecompile 2024-01-22 19:35:49 +00:00
Fedora Release Engineering
e44bfe4f3d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 18:00:41 +00:00
Tim Landscheidt
3461073c54 Add -W option to %_emacs_bytecompile
The new option -W to %_emacs_bytecompile causes the byte-compilation
to fail on warnings.  Also, the amendment of load-path is simplified
and the macro %bytecompargs that is no longer used is removed.
2024-01-17 13:46:33 +00:00
Lukáš Zaoral
6efc21e5fc
use correct BuildRequires for SQLite support
libsqlite3x is a library with C++ bindings for SQLite which emacs does not use
at all which transitively pulled in the necessary sqlite-devel.  Due to that
dependency, the libsqlite3x package was also brought into ELN which is unwanted.

Fixes: 9c5e49b7f0 ("Enable new features in Emacs 29: SQLite, Tree-sitter, WEBP, XInput 2.")
2024-01-05 16:28:27 +01:00
Peter Oliver
927faab5c0 Recommend libtree-sitter-java. 2023-11-19 19:25:12 +00:00
Yaakov Selkowitz
aba744d1bc Fix alternatives dependencies
Installation path macros must not be used in file dependencies:

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies
2023-11-07 15:57:46 -05:00
Peter Oliver
eb9a486090 Fix typo. 2023-10-21 16:45:27 +01:00
Peter Oliver
64a3d6cec1 Fix typo. 2023-10-21 12:40:23 +01:00
Peter Oliver
2778435025 Merge remote-tracking branch 'yselkowitz/rawhide' into rawhide
Split `%configure` options across multiple lines for easier merging in future.
2023-10-21 11:58:07 +01:00
Yaakov Selkowitz
0d766e84f3 Disable xwidgets on RHEL 10
xwidgets require webkitgtk, which is being dropped from RHEL 10.
2023-10-20 00:19:58 -04:00
Peter Oliver
e739d345f1 Rename emacs-nox subpackage to emacs-nw
The name “no X” doesn’t make sense any more, now that use of the default `emacs` binary is discouraged on the X Window System.  Let’s call it `emacs-nw` instead (which matches the `-nw` command-line option for `emacs`).
2023-09-25 19:23:31 +01:00
Peter Oliver
6a39a2112e Switch the default emacs binary to pure-GTK, suitable for Wayland
Rename the old default hybrid GTK/X11 binary to `emacs-gtk+x11`.
2023-09-25 19:23:31 +01:00
Peter Oliver
e27f9eabc4 Consolidate more files and requirements into the common subpackage
Depend on google-noto-sans-mono-vf-fonts rather than dejavu-sans-mono-fonts, since that's Fedora's default these days.
2023-09-24 21:17:32 +01:00
Peter Oliver
85031a2f73 Convert to %autorelease and %autochangelog
[skip changelog]
2023-09-24 21:03:37 +01:00
Peter Oliver
c5d17299b7 Merge branch 'duplicate-files' into rawhide 2023-09-24 01:22:37 +01:00
Peter Oliver
0fd1a3e8ed Explicitly BuildRequire libXi-devel
See the discussion [To Emacs packagers!](https://lists.gnu.org/archive/html/emacs-devel/2023-09/msg00815.html) on the emacs-devel mailing list.  We were pulling in the dependency indirectly, so this didn’t actually affect us, but still, it’s better to be explicit.
2023-09-13 14:07:30 +01:00
Peter Oliver
6a817e69ea Recommend packages required to build Tree-sitter parsers at runtime. 2023-08-07 19:04:53 +01:00
Peter Oliver
9c5e49b7f0 Enable new features in Emacs 29: SQLite, Tree-sitter, WEBP, XInput 2. 2023-08-06 00:45:31 +01:00
Dan Čermák
0bef0584b6
New upstream release 29.1, fixes rhbz#2227492 2023-08-01 08:32:43 +02:00
Dan Čermák
4c61f62d69
Backport emacs-configure-c99-1 patch from emacs-master branch 2023-08-01 00:37:26 +02:00
Dan Čermák
2850fb1bc1
Use %autosetup instead of %setup -q 2023-08-01 00:36:45 +02:00
Dan Čermák
da33813951
Remove patches already part of emacs-29
- remove emacs-pdmp-fingerprint.patch, it was cherry picked from emacs 29.1
- remove emacs-configure-c99-2.patch, already part of emacs-29
- remove fixed-ctags-local-command-execute-vulnerability.patch
- remove fix-searching-for-end-of-string-in-python-nav-end-of.patch
- remove native-compile-with_-Q.patch
- remove webkit2gtk-4.1.patch, has been implemented in emacs-29 via
  7287b7b53a17f9b2d1b474466106806a9d57af47
2023-08-01 00:35:44 +02:00
Dan Čermák
28d8e707a9
Update gpg signkey for emacs 29 2023-08-01 00:33:45 +02:00
Dan Čermák
8a2469cc20
Remove our bundled cdefs.h, emacs' version caught up with gnulib 2023-08-01 00:33:02 +02:00
Scott Talbert
be0cd269fa Rebuild for libotf soname bump 2023-07-25 10:44:01 -04:00
Benson Muite
a50b3ef331 Add change log entry for typo fix 2023-07-22 21:34:11 +03:00
Jason Thatcher
a0c541bd55 Fix typo in emacs.spec
lisp/play/pong.el -> lisp/play/pong.elc
2023-07-22 06:01:25 +00:00
Fedora Release Engineering
3dae471d21 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 18:21:58 +00:00
Benson Muite
9e852a1606 Fix infinite loop when editing Python files
rhbz2187041
2023-05-31 09:06:27 +03:00
Lukáš Zaoral
57bf08d2e1
migrate to SPDX license format 2023-04-24 13:29:50 +02:00
Peter Oliver
f151e68f40 Eliminate "file listed twice" warings during RPM build 2023-04-14 23:19:42 +01:00
Peter Oliver
44811312be Consolidate more files and requirements into the common subpackage. 2023-04-11 12:48:31 +01:00
Michael Catanzaro
1670e57f63 Use webkit2gtk-4.1 2023-02-10 10:38:26 -06:00
Dan Čermák
a45e306af9
Ensure native files are newer than byte-code files
See: https://bugzilla.redhat.com/show_bug.cgi?id=2157979#c11
2023-01-27 15:38:19 +01:00
Fedora Release Engineering
d5a49f6fd2 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 02:13:27 +00:00
Dan Čermák
42430c92f4
Use filelists to not remove exec permissions from eln files
We need to remove the exec permission on the eln files to prevent them from
having the same build-id and thereby failing the debuginfo extraction, while at
the same time they must be executable for emacs to use them.
We use filelists for that where we use attr to set their executable bits *after*
the build.
2023-01-18 00:36:03 +01:00
Dan Čermák
ebd9e6be29
Include info files via filelist & remove useless check with info subdir
The shell snippet comparing %info_files and ls info was not working anyway and
the check itself was not serving any purpose. Also, not all the contents of that
directory are actually installed as info pages.
2023-01-18 00:34:04 +01:00
Dan Čermák
ecd248959e
Don't glob manpages in %files 2023-01-17 00:21:13 +01:00