RPM

Feature request: MD5 sums for individual RPM spec source archives

Bug #638609 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
Fedora
Confirmed
Low

Bug Description

tracker

Revision history for this message
In , Joe (joe-redhat-bugs) wrote :

Description of problem:
Feature request: Include checksums for individual source packages in the spec file. When packaged into a source RPM, it is probably not as important. It would be most useful to use with `spectool' to validate a source file downloaded from a URL.

Additional info:

Fink, a Mac OSX packager, has the following format:

Source2: http://chemistry.ucsc.edu/~wgscott/xtal/xtalfink/XCCPJiffy-custom.gz
Source2-MD5: 21568dd2475505929573a3fd452c538f

The MD5 could also just be embedded in a comment if there is not enough interest in creating a formal MD5 tag.

Revision history for this message
In , Joe (joe-redhat-bugs) wrote :

In testing support for file URLs, I found that the "Icon:" tag does not support the URL format. I think it would be better if it did, so that spectool can download it along with the source and patch files.

Revision history for this message
In , Joe (joe-redhat-bugs) wrote :

Here are a few more suggestions based on the OSX Fink package manager, which seem simple enough to just add here rather than create another Bugzilla entry.

Sometimes a source or patch file has an available URL, but the filename is not sufficiently unique. So I propose the following additional tags, each defining a file download URL:

Source[N]-URL:
Patch[N]-URL:
Icon-URL:

These would allow a different local filename, and could be used to prefix source and patch files with the main package name. It also allows for a download that uses an HTTP GET, where the standard %u2p macro will not work.

Fink also has a "Recommends:" tag. It allows a package to define software that it supports, but is not required.

Fink macros allow for access to subpackage names. An uppercase macro maps to the subpackage, and a lowercase macro always maps to the main package. The equivalent for SPEC files would be:
  %{name} == the main package name.
  %{NAME} == the subpackage name; same as %{name} in the main package sections.

Revision history for this message
In , Ville (ville-redhat-bugs) wrote :

Regarding new tag suggestions, the correct place to file them in is the "rpm" component in Bugzilla, or the upstream rpm project facilities/mailing lists, see http://rpm.org/

It seems to me that this bug report already contains more things related to rpm itself rather than rpmdevtools, so I'm reassigning to rpm/rawhide and will follow the discussion.

Jeff Johnson (n3npq)
tags: added: digests fedora fetch
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Changed in fedora:
importance: Unknown → Low
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.