Troy Dawson
baaf8b93db
Cleanup spec file conditionals
2017-10-10 13:54:20 -07:00
Panu Matilainen
cae5fc9f6f
Add build conditionals for zstd and lmdb support, actually enable zstd
2017-10-03 16:51:31 +03:00
Panu Matilainen
0cd499eaca
Spec cleanups
...
Move the actual release number out into the open where it's like,
well, visible. Eliminate double negations on libarchive andxz build
conditionals.
2017-10-03 16:49:15 +03:00
Panu Matilainen
b4ee3799d1
BuildRequire gnupg2 for the testsuite
2017-09-29 21:11:36 +03:00
Panu Matilainen
7e9150e88a
ima-evm-utils only has a -devel package in fedora >= 28
2017-09-29 11:31:49 +03:00
Panu Matilainen
4e78f8672e
Rebase to rpm 4.14.0-rc2
2017-09-28 17:16:34 +03:00
Panu Matilainen
822c26c12e
Fix Ftell() past 2GB on 32bit architectures ( #1492587 )
2017-09-18 16:29:23 +03:00
Panu Matilainen
aa109fa4c6
Seems ima-evm-utils grew a -devel package now - good, update our builddep
2017-09-07 12:53:01 +03:00
Panu Matilainen
37398b20d6
Actually honor with/without libimaevm option, doh
...
Also in rpm 4.14 imaevm support require ima-evm-utils >= 1.0
due to changed API.
2017-09-07 12:29:39 +03:00
Panu Matilainen
1dda23dab1
- Rebase to rpm 4.14.0-rc1 ( http://rpm.org/wiki/Releases/4.14.0 )
...
- Re-enable SHA256 header digest generation (see #1480407 )
2017-09-06 18:41:01 +03:00
Panu Matilainen
fefe4f03a3
Band-aid for DB_VERSION_MISMATCH errors on glibc updates ( #1465809 )
2017-08-28 19:39:24 +03:00
Miro Hrončok
d2519961ce
Add patch for consistency with python-rpm-generators
2017-08-24 14:00:38 +02:00
Panu Matilainen
67d7133dc4
Remove ugly kludges from posttrans script, BDB handles this now
...
Recent libdb handles environment version mismatch automatically and
does a better job of it than we ever could, don't mess with it.
Other than that, it hasn't been really doing it's alleged job in
many years because first yum and then dnf started doing a separate
verify step after the transaction which recreates the environment...
2017-08-24 11:56:54 +03:00
Panu Matilainen
6f54bf086a
Silence harmless but bogus error message on noarch packages ( #1482144 )
2017-08-18 16:17:46 +03:00
Miro Hrončok
4d1adcf80e
Build with platform_python
2017-08-17 20:19:05 +02:00
Iryna Shcherbina
412abe2ac1
Platform-python bootstrap: step 1 - build without platform_python
...
Changes needed for Platform Python Stack change (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack ):
- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
- Add platform python deps generator patch: platform-python-abi.patch
- Add a platform-python subpackage and remove system python related declarations
- Build rpm without platform_python for bytecompilation (already set in spec file)
When platform-python package is built, switch to `%bcond_without platform_python`
to build platform-python-rpm subpackage.
2017-08-15 11:09:05 +02:00
Panu Matilainen
351ab49315
Disable macro argument quoting as a band-aid to #1481025
...
Too many existing macros heavily rely on quotes passing untouched,
needs a different approach upstream.
2017-08-14 11:51:21 +03:00
Panu Matilainen
14f55d6b22
Disable SHA256 header-only digest generation temporarily ( #1480407 )
...
There's a bug in rpm 4.13.x rpmkeys -K signature checking that chokes
on unknown tags it's supposed to ignore like older rpm versions do.
Unfortunately that means all active Fedora versions are affected,
so disabling the SHA256 header-only digest generation temporarily to
give time to deal with the other versions.
2017-08-11 09:51:16 +03:00
Panu Matilainen
353b5cc65e
Rebase to rpm 4.13.90 aka 4.14.0-alpha ( #1474836 )
2017-08-10 20:24:40 +03:00
Igor Gnatenko
4341d10fdf
don't ignore test results
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-31 14:48:02 +02:00
Igor Gnatenko
31f6752731
Move _debuginfo_subpackages and _debugsource_packages to redhat-rpm-config
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-31 14:46:51 +02:00
Igor Gnatenko
8896954ef2
Update latest patches from merged versions
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-29 10:12:20 +02:00
Igor Gnatenko
53960f5052
Backport fixes for debuginfo subpackages
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-28 19:35:07 +02:00
Igor Gnatenko
908fe913e5
Backport trivial fix for debugsourcefiles.list ending up in random dir
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-26 07:31:52 +02:00
Igor Gnatenko
768c60d619
ignore test results
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-25 21:58:12 +02:00
Igor Gnatenko
11a51d900b
Enable debugsource and debuginfo subpackages by default
...
As agreed on #fedora-devel with Dennis Gilmore that rel-eng tooling
requires some small changes and even if we miss something, it can
be fixed later.
(08:43:55 PM) dgilmore: we have the immediate tools we know need updating and the changes should be simple
(08:44:13 PM) dgilmore: so I am okay if rpm changed its behaviour right now
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-25 21:26:32 +02:00
Igor Gnatenko
e3181b4ffb
Make sure that test results are not ignored
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-24 08:42:04 +02:00
Mark Wielaard
54b0c6f766
4.13.0.1-35 - Fix rpmfd_write on big endian arches.
2017-07-23 23:55:58 +02:00
Mark Wielaard
b7548d7b53
find-debuginfo.sh: Remove non-allocated NOBITS sections from minisymtab.
2017-07-21 16:13:51 +02:00
Igor Gnatenko
85793f4048
Revert "Band-aid for python library versioning inadequacies ( #1435135 )"
...
It's not needed anymore and requires rebuilding RPM each time python updates.
This reverts commit fca9dfc3c7
.
2017-07-20 15:32:47 +02:00
Mark Wielaard
284dc31743
Add find-debuginfo.sh: Add --keep-section and --remove-section
...
Resolves : #1465997
2017-07-18 15:49:11 +02:00
Igor Gnatenko
323283e27f
Add automatic provides debuginfo(build-id) = ... into debuginfo subpackages
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-12 11:04:25 +02:00
Igor Gnatenko
3992a6874b
Fix brokeness when using %filter_setup (RHBZ #1468476 )
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-07 11:39:52 +02:00
Mark Wielaard
e9309e79ee
4.13.0.1-29 - Use file list to explicitly set mode for build-id dirs/files
...
Resolves : #1452893 , #1458839
2017-07-04 14:13:04 +02:00
Igor Gnatenko
082d5d0331
Track all patches on pagure and git format-patch them since they are cherry-picked
...
This will give us more correct patches which is easier to rebase and they are taken
from real upstream.
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-03 14:34:01 +02:00
Mark Wielaard
97b56ab27d
4.13.0.1-28
2017-06-30 15:51:17 +02:00
Mark Wielaard
79f78cc3d5
Add find-debuginfo-and-macro-docs.patch.
2017-06-28 23:17:47 +02:00
Mark Wielaard
1501796e3f
Add find-debuginfo-dwz-multi.patch.
2017-06-28 23:05:54 +02:00
Mark Wielaard
7a3daadb26
Add find-debuginfo-filter-built-ins.patch.
2017-06-28 22:25:38 +02:00
Mark Wielaard
6e205bd77e
Add debugedit-prefix.patch.
2017-06-28 22:24:24 +02:00
Mark Wielaard
f04311b662
4.13.0.1-27
2017-06-28 15:21:55 +02:00
Mark Wielaard
326fa8d2ef
Add find-debuginfo-split-traversal-and-extraction-fix.patch ( #1465170 )
2017-06-28 15:12:58 +02:00
Igor Gnatenko
d7aa14bcd4
Backport patches for rich dependencies from dependency generators
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-06-28 12:29:48 +02:00
Mark Wielaard
da3af5788b
Add support for debugsource and debuginfo subpackages
...
- find-debuginfo-untangle-unique-build-options.patch
- debugsrc-and-sub-debuginfo-packages.patch
2017-06-25 13:17:18 +02:00
Mark Wielaard
a11f229741
Backport parallel debuginfo processing.
2017-06-23 16:24:36 +02:00
Mark Wielaard
117a783617
Fix resetting attr flags in buildid creation ( #1449732 )
2017-05-30 11:48:59 +02:00
Panu Matilainen
7bc220d2a2
Python dependency generators live in python-rpm-generators now ( #1444925 )
2017-05-23 12:21:52 +03:00
Panu Matilainen
0123653c89
Fix rpmsign python module import failing ( #1393659 )
2017-05-23 11:49:46 +03:00
Florian Festi
ebc71181c9
The %srcdir macro is presuming the version will have a format x.y.z
...
and fails when presented with a longer version `4.13.0.1`.
In addition, the download location changed from `rpm.org` to `ftp.rpm.org`.
Resolves : #1447417
2017-05-03 16:17:00 +02:00
Mark Wielaard
968a569040
Fix rpmbuild world writable empty (tmp) dirs in debuginfo ( #641022 )
2017-04-25 17:45:30 +02:00
Mark Wielaard
9eaad7b89c
Add find-debuginfo.sh -n (debugedit --no-recompute-build-id) option.
2017-04-16 18:23:38 +02:00
Mark Wielaard
e589ca1992
Minisymtab should only be added for executables or shared libraries.
2017-04-16 18:23:20 +02:00
Panu Matilainen
f90c3447a3
gpg path must not depend on %%_prefix and such ( #1437726 )
2017-03-31 12:16:12 +03:00
Panu Matilainen
b9ddc1fd31
Fix problems in previous commit, related to #1435135 :
...
- Work around missing python[23] during build dependency parse
- Include ISA in the new python library version dependencies too
2017-03-27 12:52:49 +03:00
Panu Matilainen
fca9dfc3c7
Band-aid for python library versioning inadequacies ( #1435135 )
...
Apparently Python upstream doesn't care about library versioning
for "minor" things like new symbols being added, defeating automatic
dependency tracking both at rpm and linker level. For random program
X not working until Python is updated too is a minor inconvenience,
but system updater breaking is not fun. Band-aid the situation with
manually inserted dependencies on the full Python version used
for compilation.
2017-03-27 12:22:04 +03:00
Mark Wielaard
0277786e14
Unbreak short-circuited binary builds ( #1434235 ).
2017-03-27 10:37:53 +02:00
Mark Wielaard
bc4decbc5f
Add fix for off by one adding DW_FORM_string replacement ( #1434347 )
2017-03-21 17:04:02 +01:00
Mark Wielaard
915296ceec
Add fix for build-ids in non-executable ELF files ( #1433837 )
2017-03-20 10:20:58 +01:00
Mark Wielaard
20cf529b3c
Add tests fix for sed file build-id regexp matching.
2017-03-20 09:56:43 +01:00
Mark Wielaard
c6952c6366
Fix reading and updating (cross-endian) build-id information.
2017-03-17 20:54:07 +01:00
Mark Wielaard
434eb9a375
Do not process build-ids for noarch packages.
2017-03-17 10:59:33 +01:00
Mark Wielaard
03607fe128
Add fix for debugedit replace debug_line files.
2017-03-16 22:27:59 +01:00
Igor Gnatenko
7f27803262
Switch to OpenSSL (RHBZ #1390624 )
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-03-16 16:11:11 +01:00
Mark Wielaard
3e1463c90d
Add fix to reset buildid file attributes. ( #1432372 )
2017-03-15 20:13:28 +01:00
Mark Wielaard
1a7230a63a
Add fixup fix for build-id warnings on object files ( #1430587 )
2017-03-10 10:07:16 +01:00
Mark Wielaard
f66868c678
Add fix for missing_build_ids_terminate_build without __debug_package.
2017-03-09 15:58:09 +01:00
Mark Wielaard
74c3099433
Add fix for build-id warnings on object files ( #1430587 )
2017-03-09 13:18:23 +01:00
Panu Matilainen
5b4d9835cd
Mark Wielaard's backports for debuginfo parallel installation etc ( #1427970 )
2017-03-08 11:33:04 +02:00
Panu Matilainen
e3416e53e4
Fix incorrect version in latest changelog entry
2017-03-08 11:19:16 +02:00
Pavlina Moravcova Varekova
b50c8542c2
Fix number of references on spec_Type ( #1426578 )
2017-02-24 12:41:41 +01:00
Tomas Orsava
cef3bf8220
Fix handling of Python wheels by pythondistdeps.py --provides ( #1421776 )
2017-02-16 13:54:19 +01:00
Panu Matilainen
4fb16e5212
Update to rpm 4.13.0.1
2017-02-16 12:33:06 +02:00
Florian Festi
e38c401574
- Fix Python byte compilation for Python3 only packages
...
- Fixes #1411588
2017-02-14 14:25:11 +01:00
Fedora Release Engineering
056ac06464
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-02-11 11:50:33 +00:00
Panu Matilainen
4324465d43
Resurrect debuginfo GDB index generation ( #1410907 )
2017-01-23 15:45:57 +02:00
Panu Matilainen
8fcb9658d2
Fix malformed packages being generated around 4GB boundary ( #1405570 )
2017-01-23 15:45:35 +02:00
Igor Gnatenko
21fe6e8963
use python3 instead of system-python for rpm-build
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-06 15:06:51 +01:00
Igor Gnatenko
e5922a6b43
Add Requires: python-setuptools for rpm-build (RHBZ #1410631 )
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-06 15:02:24 +01:00
Peter Robinson
3258296da3
Rebuild for Python 3.6
2016-12-21 11:10:27 +00:00
Igor Gnatenko
6a38aee710
Switch rpm-build to system-python (RHBZ #1405483 )
...
References: https://bugzilla.redhat.com/show_bug.cgi?id=1405483
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-18 16:44:02 +01:00
Charalampos Stratakis
eadbbd1b84
Rebuild for Python 3.6
2016-12-10 12:56:50 +01:00
Igor Gnatenko
62c1bd02da
Fix arch-dependent requires in subpackages (RHBZ #1398591 )
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-12-03 13:24:36 +01:00
Igor Gnatenko
a3e7120bb2
Fix arch-dependent requires in subpackages (RHBZ #1398591 )
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-11-25 13:20:42 +01:00
Panu Matilainen
ec7193f9fa
Expand python subpackage obsoletion range (related: #1394125 )
...
Since everything from F23 to rawhide is moving to 4.13.0 based
rpm the obsoletion range needs to match anything older than rawhide.
2016-11-11 10:19:07 +02:00
Panu Matilainen
d3306a5d53
Fix invalid memory access on %transfiletriggerpostun ( #1284645 )
2016-11-07 15:09:30 +02:00
Thierry Vignaud
9e615fd4e0
Fix references to package names, re-enable test-suite
2016-11-07 14:49:13 +02:00
Panu Matilainen
dcc21c353f
Rebase to rpm 4.13.0 final
2016-11-03 13:33:38 +02:00
Panu Matilainen
32a2500e40
Fix harmless unused variable warning from fedora-specspo patch
...
Fedora specspo version is much simpler than the upstream one and
doesn't need to change languages etc, just drop the unused foa
tripping warnings.o
2016-11-02 08:01:35 +02:00
Panu Matilainen
cf4d3ed708
Rebase to rpm 4.13.0-rc2
2016-10-20 18:39:56 +03:00
Richard W.M. Jones
9c2066b222
Add upstream patches for riscv64 architecture support.
...
These two patches are upstream already. A third patch is also
upstream, but it is not needed with the older RPM we have, so I didn't
include it.
2016-09-23 15:30:01 +01:00
Igor Gnatenko
adf839f07a
Backport patch for missing import in Python dependency generator
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-24 15:48:12 +02:00
Kalev Lember
6534c05904
Fix -python2 and -python3 subpackage obsoleting from .42
2016-08-24 11:36:10 +02:00
Igor Gnatenko
68f46ed226
Use %%python_provide for python3 subpackage
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-23 11:59:19 +02:00
Igor Gnatenko
7cf326913f
Backport fixes to ignore .egg-link files in Python dependency generator
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-22 16:12:03 +02:00
Igor Gnatenko
7defdb873e
add conditional to build with ndb
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-13 10:35:20 +02:00
Florian Festi
485d8d8288
- Enable --majorver-provides in Python dependency generator
2016-08-12 11:11:52 +02:00
Igor Gnatenko
76e0e5ca63
Add %%{?system_python_abi}; Fixes and cleanups
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-09 18:17:41 +02:00
Fedora Release Engineering
ce564aa882
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-07-19 12:32:00 +00:00
Petr Písař
cd3a538d79
Drop rpm-build's dependency on perl-generators
...
This removes the last run-time dependency on Perl and frees minimal
build root from the Perl. See
<https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl >.
2016-07-18 16:17:29 +02:00
Florian Festi
5d3e134418
- Pass relevant files to new Python dependency generator
...
by passing all files in the PYthon directories
2016-07-15 12:30:29 +02:00