Project

General

Profile

Actions

Architecture #2451

open

Suggestion : integrate source in src.rpm

Added by Olivier LI KIANG CHEONG about 12 years ago. Updated about 2 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Packaging
Effort required:
Name check:
Fix check:
Regression:

Description

Hi,
in .spec file, it would be better to use a tarball instead of a directory for SOURCE.
Here an example tested with rudder-webapp to include sources in src.rpm :
  1. I run rpmbuild with options : --define "_topdir $(pwd)" --define 'real_version 2.4.0.alpha7' -ba SPECS/rudder-webapp.spec
  2. Create a tarball as the name -{real_version}.tar.gz (ie rudder-webapp-2.4.0.alpha7.tar.gz) ; maybe you can create the tarball in Makefile
  3. in .spec file, delete all reference to %{_sourcedir}/rudder-sources/

See the patch in attached file or .src.rpm


Files


Subtasks 1 (0 open1 closed)

User story #8608: Create a correct rudder-agent srpmRejectedAlexis MoussetActions

Related issues 1 (0 open1 closed)

Has duplicate Rudder - Architecture #8501: Rudder SRPM still cannot rebuild itselfRejected2016-06-09Actions
Actions

Also available in: Atom PDF