Fedora Linux Support Community & Resources Center
  #1  
Old 21st February 2012, 04:19 AM
rafaga2k Offline
Registered User
 
Join Date: Feb 2012
Location: Mexico
Posts: 8
linuxfirefox
rpmlint/mock errors

hi ... it's me again... i have built the spec files into rpms but now trying to see if my spec files is good i see some errors

mock output
Code:
ERROR: Exception(libmirage-1.5.0-1.fc16.src.rpm) Config(fedora-16-x86_64) 5 minutes 27 seconds
INFO: Results and/or logs in: /var/lib/mock/fedora-16-x86_64/result
ERROR: No Spec file found in srpm: libmirage-1.5.0-1.fc16.src.rpm
rpmlint output
Code:
libmirage.src: W: invalid-url URL: http://cdemu.sourceforge.net/pkg_libmirage.php HTTP Error 500: Internal Server Error
libmirage.src: E: no-spec-file
1 packages and 0 specfiles checked; 1 errors, 1 warnings.

obviously the spec file exists because with that file i'm building the rpms, but i don't know how can i make to resolve these iusses

spec file

Code:
Summary: A CD-ROM image access library
%define version 1.5.0
Group: Development/Libraries
Name: libmirage
Release: 1%{?dist}
License: GPLv2+
Packager: Rafael -----
Source: libmirage-1.5.0.tar.gz
URL: (url)
Requires: glib >= 2.28, libsndfile >= 1.0.0, zlib
BuildRequires: glib-devel >= 2.28, libsndfile-devel >= 1.0.0, zlib-devel, gtk-doc >= 1.4
Version: %{version}
Buildroot: %{_buildrootdir}/%{name}-%{version}-root 
%description
The aim of libMirage is to provide uniform access to the data stored
in different image formats, by creating a representation of disc 
stored in image file, which is based on GObjects.
There are various objects that represent different parts of the disc;
disc, session, track, sector, etc. In addition to providing access to
data provided by the image file, libMirage is also capable of
generating some of the data that might not be present in image file.
For instance, ISO image provides only user data from sector, without
sync pattern, header, ECC/EDC codes or sub-channel.
When this missing data is requested, libMirage will transparently
generate it.

Currently supported image formats:
 - BlindWrite 5/6 (B5T, B6T) file format
 - Roxio / WinOnCD (C2D) file format
 - CloneCD (CCD, SUB, IMG) image format
 - DiscJuggler (CDI) file format
 - Easy CD Creator (CIF) file format
 - CDRwin (CUE, BIN) image format
 - PowerISO (DAA) image format
 - Track loader (ISO, UDF) for ISO9660 and UDF track images
 - Alcohol 120% (MDS) image format
 - Nero Burning ROM (NRG) image format
 - ReadCD (TOC, BIN) image format
 - Cdrdao's (TOC, BIN) image format
 - XCDRoast (TOC, BIN) image format

%package devel
Group: Development/Libraries
Summary: A CD-ROM image access development library
%description devel
The aim of libMirage is to provide uniform access to the data stored
in different image formats, by creating a representation of disc 
stored in image file, which is based on GObjects.
There are various objects that represent different parts of the disc;
disc, session, track, sector, etc. In addition to providing access to
data provided by the image file, libMirage is also capable of
generating some of the data that might not be present in image file.
For instance, ISO image provides only user data from sector, without
sync pattern, header, ECC/EDC codes or sub-channel.
When this missing data is requested, libMirage will transparently
generate it.

Currently supported image formats:
 - BlindWrite 5/6 (B5T, B6T) file format
 - Roxio / WinOnCD (C2D) file format
 - CloneCD (CCD, SUB, IMG) image format
 - DiscJuggler (CDI) file format
 - Easy CD Creator (CIF) file format
 - CDRwin (CUE, BIN) image format
 - PowerISO (DAA) image format
 - Track loader (ISO, UDF) for ISO9660 and UDF track images
 - Alcohol 120% (MDS) image format
 - Nero Burning ROM (NRG) image format
 - ReadCD (TOC, BIN) image format
 - Cdrdao's (TOC, BIN) image format
 - XCDRoast (TOC, BIN) image format

%prep
%setup -q

%build 
%configure --disable-static --enable-gtk-doc
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT 
make install DESTDIR=$RPM_BUILD_ROOT
# we delete libtool metainfo after install to avoid packaging in RPM
# as denoted by Fedora Packaging Guidelines 
rm -f $RPM_BUILD_ROOT/%{_libdir}/lib*.la 
rm -f $RPM_BUILD_ROOT/%{_libdir}/libmirage-1.5/*.la

%clean
rm -rf $RPM_BUILD_ROOT 

#Sequence to test the build, something like 'make test' should work
%check

%files
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%{_libdir}/libmirage-1.5/*.so
%{_datadir}/mime/packages/*.xml
%doc README
%doc AUTHORS

%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%doc %{_datadir}/gtk-doc/*

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%changelog
* Mon Feb 20 2012 Rafael ----
- 1.5.0-1
- Initial version to Git commit 90615bcb5c9f92a47096d658cadd8ca5baba3efc

Last edited by rafaga2k; 21st February 2012 at 04:44 AM.
Reply With Quote
  #2  
Old 22nd February 2012, 11:29 AM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: rpmlint/mock errors

What command did you use to generate the srpm?
I used this with your spec

Code:
rpmbuild -bs libmirage.spec
Attached Files
File Type: rpm libmirage-1.5.0-1.fc16.src.rpm (501.5 KB, 62 views)
Reply With Quote
  #3  
Old 22nd February 2012, 10:03 PM
rafaga2k Offline
Registered User
 
Join Date: Feb 2012
Location: Mexico
Posts: 8
linuxfirefox
Re: rpmlint/mock errors

rpmbuild -ba libmirage.spec
Reply With Quote
Reply

Tags
errors, rpmlint or mock

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mock errors Keldorn Using Fedora 2 27th June 2011 06:56 PM
Trying to build a simple srpm with mock errors out uncholowapo Using Fedora 5 17th March 2009 05:12 AM
rpmlint spews LOTS of errors!! rileym3 Using Fedora 2 12th February 2008 04:52 AM
fedora 7 mock errors grujakg Using Fedora 5 5th June 2007 10:10 PM
Update: rpmlint 0.53 (8.0,9,FC1/stable) fedora-package-announce-admin@fedora.us Advisories & Updates 0 27th December 2003 03:36 PM


Current GMT-time: 10:26 (Saturday, 01-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Decatur Photos - Panihati - Bothaville