Project

General

Custom queries

Profile

Actions

User story #4671

closed

User story #4595: Support for AIX (agent only)

Avoid listing files twice in .spec %files section

Added by Jonathan CLARKE about 11 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Currently, building rudder-agent RPM with older version of rpm results in this error:

13:40:22 Processing files: rudder-agent-2.10.0.alpha1.git201403181302-1.AIX.5.3
13:40:23 File listed twice: /opt/rudder/etc/uuid.hive
13:40:26 File listed twice: /var/rudder/cfengine-community/ppkeys

This happens because our "%files" section contains these lines:

 %{rudderdir}
 %config(noreplace) %{rudderdir}/etc/uuid.hive
 %{ruddervardir}
 %attr(0600, -, -) %dir %{ruddervardir}/cfengine-community/ppkeys

This can be avoided by listing the exact files to include, and specifying separately the two we want special attributes on.


Subtasks 2 (0 open2 closed)

Bug #4685: Error on rpm build, unpackaged filesReleasedJonathan CLARKE2014-03-27Actions
Bug #4687: missing files in rudder-agent packages, missing symlinksReleasedJonathan CLARKE2014-03-28Actions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4694: RPM postinst fails on all systems due to missing directoriesReleasedVincent MEMBRÉ2014-03-28Actions
#1

Updated by Jonathan CLARKE about 11 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/276/files
#2

Updated by Jonathan CLARKE about 11 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#4

Updated by Vincent MEMBRÉ about 11 years ago

  • Tracker changed from 6 to Bug
  • Parent task deleted (#4595)
#5

Updated by Vincent MEMBRÉ about 11 years ago

  • Tracker changed from Bug to Enhancement
  • Parent task set to #4595
#6

Updated by Vincent MEMBRÉ about 11 years ago

  • Status changed from Pending release to Released
#7

Updated by Benoît PECCATTE about 10 years ago

  • Category set to Packaging
#8

Updated by Benoît PECCATTE almost 10 years ago

  • Tracker changed from Enhancement to User story
Actions

Also available in: Atom PDF