Hide Forgot
Spec URL: http://69.164.204.114/cover_grabber.spec SRPM URL: http://69.164.204.114/cover_grabber-0.0.2-1.fc16.src.rpm Description: Cover Grabber will recursively traverse a specified directory of mp3s and download album cover art from LastFM. For instance: $ covergrabber "/home/user/Music" This is my first package and I am seeking sponsorship.
rpmlint output: cover_grabber.src: W: spelling-error %description -l en_US covergrabber -> cover grabber, cover-grabber, recoverable cover_grabber.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/cover_grabber/media_dir_walker.py cover_grabber.noarch: E: incorrect-fsf-address /usr/bin/covergrabber cover_grabber.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/cover_grabber/mp3_handler.py cover_grabber.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/cover_grabber/__init__.py cover_grabber.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/cover_grabber/lastfm_downloader.py cover_grabber.noarch: W: no-manual-page-for-binary covergrabber 2 packages and 1 specfiles checked; 5 errors, 2 warnings.
I had to update GPL license info on all files to get rid of "incorrect-fsf-address" error in rpmlint. Here is newest rpmlint output: cover_grabber.src: W: spelling-error %description -l en_US covergrabber -> cover grabber, cover-grabber, recoverable cover_grabber.noarch: W: no-manual-page-for-binary covergrabber 2 packages and 1 specfiles checked; 0 errors, 2 warnings.
# Remove, not needed at all %define name cover_grabber %define version 0.0.2 %define unmangled_version 0.0.2 %define release 1 # You are upstream too? Source0: http://69.164.204.114/%{name}-%{unmangled_version}.tar.gz # Remove Prefix: %{_prefix} # Remove Vendor: Jayson Vaughn <vaughn.jayson> # Remove URL: http://github.com/thedonvaughn/cover_grabber Requires: python-mutagen # Does the tool only work for mp3, not flac et al? %description Cover Grabber will recursively traverse a specified directory of mp3s and download album cover art from LastFM. For instance: $ covergrabber "/home/user/Music" %prep %setup -q %{name}-%{unmangled_version} %build python setup.py build %install # Don't use --record # Please read this: http://fedoraproject.org/wiki/Packaging:Python python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT # use hand built files list. %files -f INSTALLED_FILES # change to %defattr(-,root,root,-) %defattr(-,root,root) Please create a FAS account and do a koji scratch build, post link to build here.
Thanks Terje. So I should remove all %define lines? I use these as variables in my spec file. Should I just hard code the values instead? Yes, I am the upstream. Currently the tool only works on mp3s however I will probably have flac and ogg support added this weekend when I have the time. Now that I am using python-mutagen, it should be a rather simple refactor. I already have a FAS account and will perform a koji scratch build shortly. Thanks again.
Yes, remove all %define, these will be variables any way (just try), expect unmangled_version, however unmangled_version == version any way.
Oh, Duh. I knew these would be variables anyway. OK I made the changes you mentioned. Same URLs as above for the new SRPM and new spec file. Here is the Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3573082 Thanks.
I like line up the tags like this: Summary: Download album cover art Name: cover_grabber Version: 0.0.2 Release: 1%{?dist} you might want that. Your BuildRoot: tag seems too simple. (Or you can remove it.) %setup -q cover_grabber-0.0.2 You can drop the cover_grabber-0.0.2 here Please use the %changelog and increase release when you do changes. Also innclude links to updated spec and srpm in each update comment. It's them much simpler for the reviewer to follow the process. koji build looks good, thanks.
Ok, I've made the suggested changes to the spec file. I've also added OGG and FLAC support to this application upstream so I re-packaged it. Here are the new files: Spec URL: http://69.164.204.114/cover_grabber.spec SRPM URL: http://69.164.204.114/cover_grabber-1.0.0-1.fc16.src.rpm rpmlint output: cover_grabber.src: W: spelling-error %description -l en_US ogg -> egg, org, boggy cover_grabber.src: W: spelling-error %description -l en_US covergrabber -> cover grabber, cover-grabber, recoverable cover_grabber.noarch: W: spelling-error %description -l en_US ogg -> egg, org, boggy cover_grabber.noarch: W: no-manual-page-for-binary covergrabber 2 packages and 1 specfiles checked; 0 errors, 4 warnings. Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3573245 I really appreciate all your help!
Spec URL: http://69.164.204.114/cover_grabber.spec SRPM URL: http://69.164.204.114/cover_grabber-1.1.0-1.fc16.src.rpm rpmlint output: cover_grabber.src: W: spelling-error %description -l en_US ogg -> egg, org, boggy cover_grabber.src: W: spelling-error %description -l en_US covergrabber -> cover grabber, cover-grabber, recoverable cover_grabber.noarch: W: spelling-error %description -l en_US ogg -> egg, org, boggy cover_grabber.noarch: W: no-manual-page-for-binary covergrabber 2 packages and 1 specfiles checked; 0 errors, 4 warnings. Will post Koji scratch build when Koji is operational again. Currently it is down due to NFS failure.
When koji came back online the builds failed because of lack of python-setuptools (Weird that it worked before the NFS crash). I have a new release with an updated spec file with 'BuildRequires: python-setuptools' : ------- Spec URL: http://69.164.204.114/cover_grabber.spec SRPM URL: http://69.164.204.114/cover_grabber-1.1.1-1.fc16.src.rpm -------- rpmlint output: cover_grabber.noarch: W: spelling-error %description -l en_US ogg -> Gog, egg, org cover_grabber.noarch: W: no-manual-page-for-binary covergrabber cover_grabber.src: W: spelling-error %description -l en_US ogg -> Gog, egg, org cover_grabber.src: W: spelling-error %description -l en_US covergrabber -> cover grabber, cover-grabber, overgraze 2 packages and 1 specfiles checked; 0 errors, 4 warnings. -------- Koji scratch build: Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3578806
The URLs don't respond for me; things just time out. Maybe that's why you aren't getting much response to this ticket. Why use some random IP address when you could just ask for fedorapeople space? https://fedoraproject.org/wiki/Join_the_package_collection_maintainers#Upload_Your_Package has the details. Please clear the Whiteboard above if providing a package to review.
My apologies. I was actually working on a new package as much has changed. I will also make sure to use my fedorapeople space next time. Thanks for the suggestions and taking the time to review this ticket. I will clear the whiteboard when it's ready.
Still any interest or should this request be closed?
Closing due long inactivity. Feel free to reopen if you want to continue.