| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
574c81e2 CPack/RPM fix - custom binary spec file handling
|
| |
| |
| |
| | |
Fixes #16507
|
| |
| |
| |
| |
| |
| |
| |
| | |
* In older version "%dir %attr(-, root, root) foo" would put "%dir foo"
in the final spec file.
* Also added comment to describe this and advise not not to add trailing
slashes to directories in USER_FILELIST.
* Includes test in RunCMake CPack which now passes.
|
| |
| |
| |
| |
| |
| | |
Some tags are not listed by rpmbuild querytags
even though they are supported. Ignore those
tags during the removal of unsupported tags.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Omit tags that are not supported by provided rpmbuild
as some tags get added/removed in later versions of
the tool.
Closes: #13423
|
|\ \
| |/
| |
| |
| |
| | |
4ab3b0c4 CPackRPM: Fix incorrect variable name in documentation
e6460e7d CPackDeb: Fix incorrect variable name in documentation
|
| |
| |
| |
| |
| |
| | |
`CPACK_RPM_COMPONENT_INSTALL` is the correct variable to set to enable
component packaging. `CPACK_RPM_PACKAGE_COMPONENT` is just set to a
component name when CPack calls corresponding installer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Generate a single debuginfo package even
if components packaging is enabled.
This makes issue #15668 resolution feature complete.
Closes: #15486
|
|/
|
|
|
|
| |
Main component rpm package is generated
without component suffix in filename
and package name.
|
|
|
|
|
| |
Handle case when a component doesn't contain
any debuginfo symbols.
|
|
|
|
|
|
|
| |
objdump prints out error text if file is not an
executable and that should be suppressed as we
don't care about non executable files during that
test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Per-source copyright/license notice headers that spell out copyright holder
names and years are hard to maintain and often out-of-date or plain wrong.
Precise contributor information is already maintained automatically by the
version control tool. Ultimately it is the receiver of a file who is
responsible for determining its licensing status, and per-source notices are
merely a convenience. Therefore it is simpler and more accurate for
each source to have a generic notice of the license name and references to
more detailed information on copyright holders and full license terms.
Our `Copyright.txt` file now contains a list of Contributors whose names
appeared source-level copyright notices. It also references version control
history for more precise information. Therefore we no longer need to spell
out the list of Contributors in each source file notice.
Replace CMake per-source copyright/license notice headers with a short
description of the license and links to `Copyright.txt` and online information
available from "https://cmake.org/licensing". The online URL also handles
cases of modules being copied out of our source into other projects, so we
can drop our notices about replacing links with full license text.
Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
of the replacements mechanically. Manually fix up shebang lines and trailing
newlines in a few files. Manually update the notices in a few files that the
script does not handle.
|
| |
|
|
|
|
|
|
| |
List of sources must be split into paths parts
so that debuginfo package cleans up after
itself.
|
|
|
|
|
| |
Issue #15668 fix was missing relevant source
files in debuginfo package.
|
|\
| |
| |
| |
| | |
edb3f6ee CPackRPM: Avoid CMP0007 warnings
|
| |
| |
| |
| |
| | |
For older versions of CMake minimum required version CMP0007 policy
warning was printed out.
|
|/
|
|
| |
Closes: #15839
|
|
|
|
|
| |
Added new variable to CPackRPM for debuginfo rpm package
generation. Binaries will be checked for debug symbols.
|
|
|
|
|
|
|
| |
Automate with:
find Modules -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
|
|\
| |
| |
| |
| | |
83799aa9 CPack/RPM: Debug logging should only print if requested for
|
| | |
|
|\ \
| |/
|/|
| |
| | |
672e6d2e CPack/RPM: Add missed CPACK_RPM_FILE_NAME fallback variable
|
| |
| |
| |
| |
| |
| | |
In commit v3.6.0-rc1~66^2 (CPack/RPM different package names,
2016-05-15) we forgot the non-uppercased fallback variable name
`CPACK_RPM_<COMPONENT>_FILE_NAME`. Add it now.
|
|/
|
|
|
|
|
|
|
| |
Directives that are legal inside the %files section of an RPM spec may
contain a variety of characters particularly when specifying %caps which
can include +, _, and space. Watch for parenthesis to determine what
forms the prefix vs. path.
Fixes #14362.
|
| |
|
|\
| |
| |
| |
| |
| | |
f5089cfc CPack/RPM adding dist to release tag test
f7003a60 CPack/RPM release dist tag support
|
| |
| |
| |
| |
| | |
Some Linux distros require Release tag
to be set to <ReleaseVersion><Dist>.
|
|/
|
|
|
|
|
|
| |
Packagers may now set their own rpm package
file names or request that rpmbuild tool
chooses one for them. It also supports handing
of situations where one spec file may produce
multiple rpm packages.
|
|\
| |
| |
| |
| | |
eae4eef0 CPack/RPM external symlink handling
|
| |
| |
| |
| |
| |
| |
| |
| | |
Symbolic links that point to external
location no longer cause cmake to fail
with string out of bounds error but
are instead packaged as non relocatable
symlinks and print out a warning message.
|
|/
|
|
|
| |
The Debian package checker tool (lintian) detected several typos in
CMake.
|
|
|
|
|
|
|
|
| |
RPM supports setting of default user, group,
file and directory permissions that will be
applied for files in package unless specified
per file/dir with attr setting
This is related to bug report 14714
|
|
|
|
|
|
|
|
|
|
| |
CPACK_* variables expect component name in upper case.
CPACK_RPM_* variables expected component name to be
in same case as component name.
This patch adds support for CPACK_RPM_* variables with
upper case component names to match the convention with
CPACK_* variables and also preserves same case component
names for back compatibility.
|
| |
|
|
|
|
|
|
|
| |
The latter is now the preferred URL for visiting cmake.org with a
browser. Convert using the shell code:
git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
|
| |
|
|
|
|
|
|
| |
Some CPack/RPM variables were undocumented
even though they are implemented in code
for quite a while now.
|
|
|
|
|
|
|
| |
CPack DEB and RPM generators were not used for some tests because
CPACK_BINARY_DEB and CPACK_BINARY_RPM variable were not set. Fix this,
simplify generator selection in CTEST_RUN_CPackComponentsForAll, and fix
bugs that were detected after tests were run.
|
|
|
|
| |
output RPMBUILDOUT when intended
|
|
|
|
|
|
|
|
|
| |
Refactoring of content list that removes
use of find and sed to make listing algorithm
more clear and remove external dependencies.
Patch also limits man pages handling to
locations listed in brp-compress rpm script
by default - fixes bug report #14660.
|
|
|
|
|
| |
Move rpm package content list code to
a separate function.
|
|
|
|
|
|
|
| |
RPM packages can contain symbolic links to relative paths - including
support for multiple relocation paths through generation of post install
relocation scripts. Add basic support with limitations described in
documentation.
|
|
|
|
|
|
|
| |
Patch adds possibility to remove
CPACK_PACKAGING_INSTALL_PREFIX from
the list of relocation paths when
crating a relocatable rpm.
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes mantis bug report with id 15169. Some
component specific attributes were leaking
to next component. Leakage handling was
implemented in different locations but there
were still attributes that leaked. Patch
encapsulates generator into function so all
current leaks are fixed and no future leaks
can occur.
|
|\
| |
| |
| |
| |
| |
| | |
cpack_rpm_mulit_prefix_fixup-for-master
Resolve conflict in Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake
by combining the changes from both sides.
|
| |
| |
| |
| |
| |
| |
| | |
In commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes
for one package, 2015-01-21) a regression was introduced that causes
parent directories of relocation paths to be incorrectly included in
the rpm. Fix this and make the test case more strict to cover it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The change in commit v2.8.12~218^2 (CPackRPM protect '@' character in
filename processed in the spec file, 2013-07-05) was not necessary after
commit v2.8.12~439^2 (Add support for componentized USER spec file,
2013-04-01). The latter replaced ${VAR} references in the spec file
template string with \@VAR\@ references, thus protecting '@' symbols
automatically. This caused CPackRPM to break paths with @ symbols.
Revert the change to fix the behavior, and add a test case.
|
| |
| |
| |
| |
| |
| | |
CPACK_RPM_<component>_PACKAGE_ARCHITECTURE variable allows
the same project to support packages of different architectures
including noarch, native and foreign architectures.
|
|/
|
|
|
|
|
|
|
| |
BuildArch must only be added to a spec file for a "noarch" package or
rpmbuild will fail. For all others, the --target argument sets the
package architecture. In the process of Fixing rpm architecture, we
make it mandatory, adding a default value of native architecture (the
same as if no --target argument is present). Update the documentation
at the top of the file to make it mandatory.
|