Commit Graph

732 Commits

Author SHA1 Message Date
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
Lubos Kardos
3d139e0cf5 - Revert using %%configure, it causes problems
- Temporary set %%_gnu macro explictly, just for one build
- Resolves: #1303265
2016-02-01 14:15:28 +01:00
Lubos Kardos
6f4d9623c3 - Use %%configure macro, harden rpm package
- Resolves: #1289734
2016-01-29 16:21:57 +01:00
Lubos Kardos
ee86e21cbd - Escape %%autosetup in previous changelog record 2016-01-19 16:59:50 +01:00
Lubos Kardos
a0329136e3 - Fix %autosetup not to cause errors during run of rpmspec tool
- Resolves: #1293687
2016-01-19 16:20:24 +01:00
Lubos Kardos
cc1db15b09 - Fix recursive calling of rpmdeps tool
- Resolves: #1297557
2016-01-15 16:11:38 +01:00
Florian Festi
d0fa66b1d4 Add support for %missingok as a standalone file attribute 2016-01-15 15:25:44 +01:00
Lubos Kardos
ece6f42375 - Fix not chrooting transaction file triggers 2016-01-15 14:54:25 +01:00
Lubos Kardos
3bf18080b5 - Add possibility to disable file triggers
- Fix unwanted multiple execution of file triggers in dnf
- Resolves: #1282115
2015-11-23 16:16:27 +01:00
Peter Robinson
0a236df57d Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-12 12:02:21 +00:00
Lubos Kardos
f545271021 - Fix crash when parsing corrupted RPM file
- Resolves: #1273360
2015-11-06 16:24:27 +01:00
Lubos Kardos
aa8a7b2897 Fix SIGSEGV in case of old unsupported gpg keys
Resolves: #1277464
2015-11-06 13:10:56 +01:00
Lubos Kardos
3631545efd - Ignore SIGPIPE signals during execucton of scriptlets
- Resolves: #1264198
2015-10-30 14:55:06 +01:00
Florian Festi
627b9bf773 - Move /usr/lib/rpm/fileattrs directory from rpm-build to rpm
- Resolves: #1272766
2015-10-30 11:36:21 +01:00
Lubos Kardos
c235b191f3 - Fix reading a memory right after the end of an allocated area
- Resolves: 1260248
- Add support for various types of dependencies to rpmdeps tool
- Resolves: 1247092
- fix %%autopatch when patch do not exist
- Resolves: 1244172
2015-10-23 16:06:19 +02:00
Lubos Kardos
b73ac86cf5 - If %_wrong_version_format_terminate_build is 1 then terminate build
in case that version format is wrong i. e. epoch is not unsigned
  integer or version contains more separators (":", "-").
  %_wrong_version_format_terminate_build is 1 by deafault
- Resolves: 1251453
2015-10-23 14:42:40 +02:00
Robert Kuska
26ad4d8717 Rebuilt for Python3.5 rebuild 2015-10-14 11:50:50 +02:00
Florian Festi
392d6caed5 - Fix selinux plugin for permissive mode 2015-10-12 12:56:07 +02:00
Florian Festi
2e60cb3797 - Fix new rich dependency syntax 2015-09-07 17:27:40 +02:00
Kalev Lember
72ba7dafee Obsolete compat-librpm3
Make sure that F23->F24 upgrades remove the temporary compat-librpm3
subpackage.
2015-09-05 22:28:51 +02:00
Florian Festi
592510cfdb - Update to upstream 4.13.0-rc1 release 2015-09-02 19:51:49 +02:00
Lubos Kardos
d407fb640c - Fix last occurence of PyString 2015-08-10 14:43:51 +02:00
Lubos Kardos
659760a576 - Add --filetriggers option to show info about file triggers 2015-08-06 15:48:15 +02:00
Lubos Kardos
ad8c4238ac - If globbing of a filename fails, try use the filename without globbing.
- Related: #1246743
- Modify rpmIsGlob() to be more precise and compatible with glob().
- Related: #1246743
2015-08-03 17:43:23 +02:00
Lubos Kardos
977533abf2 - Don't warn when an escaped macro is in a comment
- Related: #1224660
2015-07-30 16:50:54 +02:00
Florian Festi
77efb7ee50 - Fix compressed patches
- Resolves: #1247248
2015-07-27 19:00:10 +02:00
Lubos Kardos
ee316a0bf8 - Enable braces expansion in rpmGlob()
- Resolves: 1246743
2015-07-27 13:56:58 +02:00
Florian Festi
632722fbed - Update to upstream alpha release 2015-07-24 14:16:58 +02:00
Florian Festi
fcbbffb488 - Add support for MIPS platform
- Resolves: #1242786
2015-07-15 10:01:30 +02:00
Florian Festi
8341ec3f15 - Fix Python import directive for more strict Python3 search rules
- Resolves: #1236493
2015-06-29 12:18:50 +02:00
Lubos Kardos
7aff53e3ab - Allow gpg to get passphrase by itself
- resolves: #1228234
2015-06-19 11:28:32 +02:00
Dennis Gilmore
966f2e339b - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 22:32:18 +00:00