Bug 103681 - Exporting a project as a source RPM does not copy backup files
Exporting a project as a source RPM does not copy backup files
Status: CLOSED CURRENTRELEASE
Product: Red Hat Developer Suite
Classification: Retired
Component: eclipse (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Rick Moseley
eclipse-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-03 16:31 EDT by Rick Moseley
Modified: 2007-04-18 12:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-09-15 14:44:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rick Moseley 2003-09-03 16:31:52 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
When an Eclipse C/C++ project is exported to a source rpm the "-b" option is
specified when the patch is created which causes a backup to be created of any
file that was modified between this source rpm creation and the previous source
rpm creation.  These files are denoted by having the "patch tag" appended to
their names.  A method needs to be created which will parse the project and find
any files with the "patch tag" appended and copy them back to the project.  This
will ensure that the next time an srpm is created from this project, all the
proper files will be present.

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


How reproducible:
Always

Steps to Reproduce:
1. modify a source file and export an Eclipse C/C++ project as a source rpm,
remember what was entered in the "patch tag" field and what file was modified
2. when step 1 is complete, verify that the "filename" that was modified does
not have a "filename.patchtag" entry anywhere in the project
3.
    

Actual Results:  No file of the name "filename.patchtag" was found

Expected Results:  A file with the name of "filename.patchtag" should be found

Additional info:
Comment 1 Rick Moseley 2003-09-15 14:44:02 EDT
have checked in a workaround for now where the "%patch" statements that the RPM
plugin adds to the spec file do not have the "-b" option.  I know what the
correct solution is now and am working on a fix.

Note You need to log in before you can comment on or make changes to this bug.