Commit Graph

763 Commits

Author SHA1 Message Date
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
Florian Festi 82f61bba7f - Add new Python dependency generator (provides only for now) (#1340885) 2016-06-13 16:06:01 +02:00
Florian Festi ae2bf135f8 - Add support for _buildhost macro (#1309367) 2016-06-02 16:02:52 +02:00
Lubos Kardos b1ea7e94ff - Fix signing with non-ASCII uid keys
- Resolves: #1243963
2016-05-23 11:05:25 +02:00
Lubos Kardos 2f3f5c83b5 - Use armv7hl isa for all armhfp (armv7h*l) arches
- Resolves: #1326871
2016-05-19 13:18:47 +02:00
Lubos Kardos 933370a6b7 - Filter unversioned deps if corresponding versioned deps exist
- Resolves: #678605
2016-05-17 16:20:23 +02:00
Lubos Kardos 177601750a - Fix sigsegv in stringFormat()
- Resolves: #1316903
- Fix reading rpmtd behind its size in formatValue()
- Resolves: #1316896
2016-04-25 15:17:59 +02:00
Lubos Kardos 9f6c27f43a - escape % chars in previous changelog record 2016-04-15 11:53:25 +02:00
Lubos Kardos 20d5c660aa - Enable --no-backup-if-mismatch by default in %patch macro
- Resolves: #884755
- Add %{_default_patch_flags} to %__patch which is used in %autosetup
- Use fuzz settings for %autopatch/%autosetup
2016-04-15 11:25:09 +02:00
Lubos Kardos ea526e71ec - Make creating index records consistent for rich and rich-weak deps
- Resolves: #1325982
2016-04-14 13:50:52 +02:00
Lubos Kardos 761a0d9ec7 - Add RPMCALLBACK_ELEM_PROGRESS callback type (needed by dnf) 2016-04-12 16:49:54 +02:00
Igor Gnatenko 5d2cf89172 fix bogus date in %changelog
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-04-09 11:00:40 +02:00
Lubos Kardos 20901a7b46 - Fix non-working combination of %lang and %doc directive
- Resolves: #1254483
2016-04-06 11:36:13 +02:00
Lubos Kardos 0b025ec5a1 - Add posix.redirect2null
- Resolves: #1287918
2016-03-10 15:31:16 +01:00
Florian Festi 6fa824a46b Add description to plugin-systemd-inhibit 2016-02-29 10:59:58 +01:00
Florian Festi 43e89ed19f - Fix ExclusiveArch/ExcludeArch for noarch packages
- Resolves: #1298668
2016-02-26 11:23:45 +01:00
Florian Festi 13b1b5af07 Fix date in changelog 2016-02-26 08:13:10 +01:00
Florian Festi 985d349b70 - Fix dependencies for RemovePathPostfixes
- Resolves: #1306559
2016-02-25 16:59:56 +01:00
Florian Festi eb90463d6a - Add support for MIPS release 6
- Add mips32 mips64 mipsel and mipseb macros
- Resolves: #1285116
2016-02-19 14:38:42 +01:00
Florian Festi 0d0e45ddf5 Also block idle and sleep in the systemd-inhibit plugin
Resolves: #1297984
2016-02-19 14:38:38 +01:00
Lubos Kardos fbda200dd8 - Remove size limit when expanding macros
- Resolves: #1301677
2016-02-02 17:15:04 +01:00
Lubos Kardos 8b1762e954 - Harden rpm package again, previous attempt had to be reverted
- Resolves: #1289734
2016-02-01 16:52:08 +01:00
Lubos Kardos 933c30b2f0 - Remove setting %%_gnu macro explictly, no more needed
- Related: #1303265
2016-02-01 14:38:14 +01:00