Bug 516378 - rpmlint still gives errors like "no-buildroot-tag"
Summary: rpmlint still gives errors like "no-buildroot-tag"
Keywords:
Status: CLOSED DUPLICATE of bug 515185
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: 11
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-09 06:47 UTC by Ankur Sinha (FranciscoD)
Modified: 2009-08-09 09:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-09 09:05:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ankur Sinha (FranciscoD) 2009-08-09 06:47:19 UTC
User-Agent:       Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.2.15 Version/10.00

with reference to https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag ,

rpmlint should not be showing errors.

Reproducible: Always

Steps to Reproduce:
1. make a spec
2. do not add the lines as per above mentioned link
3. run rpmlint on the spec and src rpms etc
Actual Results:  
fupt.spec: E: no-cleaning-of-buildroot %install
You should clean $RPM_BUILD_ROOT in the %clean section and just after the
beginning of %install section. Use "rm -Rf $RPM_BUILD_ROOT".

fupt.spec: E: no-buildroot-tag
The BuildRoot tag isn't used in your spec. It must be used in order to allow
building the package as non root on some systems.

fupt.src: E: no-cleaning-of-buildroot %install
You should clean $RPM_BUILD_ROOT in the %clean section and just after the
beginning of %install section. Use "rm -Rf $RPM_BUILD_ROOT".

fupt.src: E: no-buildroot-tag
The BuildRoot tag isn't used in your spec. It must be used in order to allow
building the package as non root on some systems.


fupt.src: E: no-cleaning-of-buildroot %install
You should clean $RPM_BUILD_ROOT in the %clean section and just after the
beginning of %install section. Use "rm -Rf $RPM_BUILD_ROOT".

fupt.src: E: no-buildroot-tag
The BuildRoot tag isn't used in your spec. It must be used in order to allow
building the package as non root on some systems.


Expected Results:  
no errors should be there.

Comment 1 Ville Skyttä 2009-08-09 09:05:29 UTC

*** This bug has been marked as a duplicate of bug 515185 ***


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