Commit Graph

372 Commits

Author SHA1 Message Date
Lukáš Zaoral
f73b7d1ec8 store the keyring in SCM and not in lookaside cache
Fedora packaging guidelines say:

The keyring must be committed directly to the package SCM.
2023-03-02 12:16:43 +00:00
Lukáš Zaoral
bdd81bd7c9 remove unused signature 2023-03-02 12:16:43 +00:00
Vincent Mihalkovic
382877771c Fix the size limit of the elf note section
tests: test written by lzaoral, thanks!
Resolves: rhbz#2167964
2023-02-09 14:12:13 +01:00
Vincent Mihalkovic
02937e1761 release new file-5.44 and update outputs in tests
Resolves: rhbz#2126540
2023-01-26 15:19:06 +01:00
Vincent Mihalkovic
7e68155ffb test: add the rebuild-coreutils test
This test is an improved copy of the https://src.fedoraproject.org/rpms/binutils/blob/rawhide/f/tests/Sanity/rebuild-coreutils.
2023-01-21 13:28:49 +01:00
Fedora Release Engineering
c136ab7255 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:25:21 +00:00
Vincent Mihalkovic
2dd88dfd9f tests: port tests to tmt
In this commit we:

1. Use `tmt tests import` to gather all related
   metadata from tests/Support-local-additions-to-magic-files
   and tests/command-line-options directories and
   convert them into tmt format.
2. Add missing requirement for bzip2 in
   tests/command-line-options/{Makefile,main.fmf}
   files.
3. Replace an obsolescent `egrep` with a `grep -E`
   command in the tests/command-line-options/runtest.sh
   file.
4. Create new tests/file-tests/Makefile file.
5. Use `tmt tests import` to convert the
   tests/file-tests and all related
   metadata into tmt format.
6. Simplify and update tests/file-tests/{prepare.sh,
   runtest.sh,reference.sh,readfile.py} scripts.
   Thank you lzaoral!
7. Update and create new "references" (file-5.42.4 outputs)
   in the file-tests/reference.
8. Rename the file-tests/blacklist.txt to
   file-tests/blocklist.txt.
9. Replace the tests/tests.yml file with
   the plans/file-CI-plan.fmf file.
2023-01-17 13:59:28 +01:00
Florian Weimer
64e7e54de2 Fix use-after-free with large file -f list (#2110622) 2022-07-26 15:45:39 +02:00
Vincent Mihalkovic
3c76982103 bump version number 2022-07-25 10:51:38 +02:00
Vincent Mihalkovic
7087cb39c7 bump version number 2022-07-21 16:01:32 +02:00
Vincent Mihalkovic
def8ebfc2a reapply: update to new version 5.42
and fix (#2095871)
2022-07-21 15:55:20 +02:00
Fedora Release Engineering
874c9f675d Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:09:13 +00:00
Python Maint
26af57aab4 Revert "update to new version 5.42"
This reverts commit f36d81de29.

See https://bugzilla.redhat.com/show_bug.cgi?id=2095871 for the problem we are avoiding.

The revert is needed to enable Python 3.11 rebuild.
2022-06-14 16:40:37 +02:00
Python Maint
c1e00f3bf5 Rebuilt for Python 3.11 2022-06-13 15:03:48 +02:00
Vincent Mihalkovic
f36d81de29 update to new version 5.42 2022-06-10 18:08:22 +02:00
Vincent Mihalkovic
69a6906f64 gpgverify source tarball 2022-03-02 13:36:20 +01:00
Fedora Release Engineering
a0e0856999 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 02:59:09 +00:00
Vincent Mihalkovic
411766c484 change the identification for JSON files (#2020715) 2021-12-14 13:18:15 +01:00
Vincent Mihalkovic
0be129eb87 fix the JavaScript detection (#2029975) 2021-12-08 16:05:01 +01:00
Vincent Mihalkovic
41b34e83c7 update to new version 5.41 2021-10-19 22:58:59 +02:00
Fedora Release Engineering
3f1280fe40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 22:56:54 +00:00
Vincent Mihalkovic
d2690de586 do not classify python bytecode files as text (#1963895) 2021-06-08 17:17:22 +02:00
Python Maint
5b9d8e5810 Rebuilt for Python 3.10 2021-06-03 19:23:15 +02:00
Vincent Mihalkovic
a3608b2146 enable the upstream test suite 2021-04-29 13:47:24 +02:00
Vincent Mihalkovic
15baab7f10 fix printing ext4 filesystem UUIDs (#1945122) 2021-04-26 19:53:10 +02:00
Stephen Gallagher
ec6fc3d85c
Restore the xz commit with the upstream fix (#1947317)
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-04-19 16:00:48 -04:00
Vincent Mihalkovic
532851e62e revert the upstream commit (regresssion) 2021-04-12 23:45:10 +02:00
Vincent Mihalkovic
2e5516b5e6 make python{2,3}-magic depend on file-libs 2021-04-09 16:39:22 +02:00
Vincent Mihalkovic
0af67f5c2b remove unused CLOEXEC patch 2021-04-05 22:07:23 +02:00
Vincent Mihalkovic
dd09bcfbbf update to new version 5.40 2021-03-31 12:32:56 +02:00
Fedora Release Engineering
d7c593dd29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:31:21 +00:00
Robert Scheck
25081a180f Spec file cleanup 2021-01-13 01:30:52 +00:00
Kamil Dudka
d7d4042b42 file.spec: BR for make is not py3 specific 2021-01-07 09:02:56 +01:00
Tom Stellard
1f9f6157f5 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-18 22:37:36 +00:00
Vincent Mihalkovic
b6f15c7ac0 close_on_exec multithreaded decompression issue (#1906751) 2020-12-16 17:28:06 +01:00
Michal Schorm
fef64163af Use macros for Make commands 2020-08-18 22:53:52 +00:00
Fedora Release Engineering
b56b0b767b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:25:54 +00:00
Vincent Mihalkovic
89ca0b2c60 BuildRequires: python3-setuptools 2020-06-24 11:49:32 +02:00
Vincent Mihalkovic
96c2e4b3f3 update to new version 5.39 2020-06-16 17:50:45 +02:00
Miro Hrončok
0f90ab1548 Rebuilt for Python 3.9 2020-05-27 12:32:37 +02:00
Vincent Mihalkovic
db4c2e38fb increase magic/Magdir/filesystems CDROM strength to beat MBR (#1696798) 2020-05-26 23:59:22 +02:00
Miro Hrončok
2d986d0f63 Rebuilt for Python 3.9 2020-05-23 20:21:21 +02:00
vmihalko
15f3e01d12 use python3-file-magic instead of python3-magic (#1793689) 2020-03-20 13:59:50 +01:00
Fedora Release Engineering
bc481a1708 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 18:28:06 +00:00
Kamil Dudka
005339db7c update to new version 5.38 2019-12-17 16:04:14 +01:00
Kamil Dudka
ca69706037 Resolves: #1771242 - remove wrong magic for JFFS file system 2019-11-18 11:39:19 +01:00
Kamil Dudka
f6dd8461e4 Resolves: CVE-2019-18218 - fix heap-based buffer overflow in cdf_read_property_info() 2019-10-25 09:33:21 +02:00
Kamil Dudka
813be92d0b Resolves: #1761223 - remove the python2-magic subpackage on f32+ 2019-10-14 10:15:25 +02:00
Kamil Dudka
e2cc43584e always install python2-setuptools if python2 is enabled
... to fix the following build failure on Fedora rawhide:

+ cd python
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ /usr/bin/python2 setup.py build
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    from setuptools import setup
ImportError: No module named setuptools
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.BWebEV (%build)
2019-10-04 10:17:05 +02:00
Miro Hrončok
e929f4461f Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:53:16 +02:00