Bug 1040333

Summary: RFE: Support .gitignore file as sources of CPACK_SOURCE_IGNORE_FILES
Product: [Fedora] Fedora Reporter: Ding-Yi Chen <dchen>
Component: cmake-fedoraAssignee: Ding-Yi Chen <dchen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cmake-fedora-1.2.3-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-27 13:09:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ding-Yi Chen 2013-12-11 08:42:45 UTC
Description of problem:
Import gitignore file as base of CPACK_SOURCE_IGNORE_FILE helps developers to keep consistence between files between source control and tarball.

However, please note that it is necessary to included some generated files such as .pot files.

Version-Release number of selected component (if applicable):
cmake-fedora-1.1.6


Spec:
CMake macro of function that have following signature:

#   PACK_SOURCE_CPACK(var [GENERATOR cpackGenerator] 
#     [GITIGNORE gitignoreFile] [INCLUDE fileList])
#   - Pack with CPack. Thus cpack related targets
#     such as 'package_source' will be added.
#     Arguments:
#     + var: Variable that hold cpack filename (without directory).
#     + GENERATORE cpackGenerator: Specify CPack Generator to be used.
#       Default: TGZ
#     + GITIGNORE gitignoreFile: Use gitignore 
#       file as bases of ignore_file list
#     + INCLUDE fileList: List of files that to be packed disregarding
#       the ignore file. This is useful for packing the generated file
#       such as .pot or ChangeLog.

Comment 1 Fedora Update System 2014-01-10 01:18:56 UTC
cmake-fedora-1.2.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/cmake-fedora-1.2.3-1.fc20

Comment 2 Fedora Update System 2014-01-11 08:49:00 UTC
Package cmake-fedora-1.2.3-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cmake-fedora-1.2.3-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0663/cmake-fedora-1.2.3-1.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-01-27 13:09:43 UTC
cmake-fedora-1.2.3-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.