Spec URL: http://shakthimaan.fedorapeople.org/SPECS/myhdl.spec SRPM URL: http://shakthimaan.fedorapeople.org/SRPMS/myhdl-0.7-1.fc14.src.rpm Description: MyHDL is a Python hardware description and verification language that helps you go from Python to silicon. MyHDL code can be converted to Verilog and VHDL. It can also be used to convert signals, do co-simulation with Verilog, generating test benches with test vectors for VHDL, Verilog and supports viewing waveform by tracing signal changes in a VCD file.
$ rpmlint myhdl.spec 0 packages and 1 specfiles checked; 0 errors, 0 warnings. $ rpmlint myhdl-0.7-1.fc14.src.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. $ rpmlint myhdl-0.7-1.fc14.noarch.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. Successful Koji builds for F-15, F-16, EL-6: http://koji.fedoraproject.org/koji/taskinfo?taskID=3111940 http://koji.fedoraproject.org/koji/taskinfo?taskID=3111943 http://koji.fedoraproject.org/koji/taskinfo?taskID=3111945
Package Review ============== Package: Key: - = N/A x = Check ! = Problem ? = Not evaluated === REQUIRED ITEMS === [x] Package is named according to the Package Naming Guidelines [x] Spec file name must match the base package %{name}, in the format %{name}.spec [x] Package meets the Packaging Guidelines [x] Package successfully compiles and builds into binary RPMs on at least one supported architecture Tested: [!] Rpmlint output: Source RPM: [fab@laptop021 SRPMS]$ rpmlint myhdl-0.7-1.fc14.src.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. Binary RPM(s): [fab@laptop021 noarch]$ rpmlint myhdl-0.7-1.fc15.noarch.rpm myhdl.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/myhdl/_join.py ... 1 packages and 0 specfiles checked; 27 errors, 0 warnings. [x] Package is not relocatable [x] Buildroot is correct (if it's still used) master : %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) spec file: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) [x] Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x] License field in the package spec file matches the actual license License type: LGPLv2+ [x] If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %doc [x] Spec file is legible and written in American English [x] Sources used to build the package matches the upstream source, as provided in the spec URL Upstream source: 0dad690fe165e4e8d4b42155b682fb63 Build source: 0dad690fe165e4e8d4b42155b682fb63 [x] Package is not known to require ExcludeArch [x] Architecture independent packages have: BuildArch: noarch [x] All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [-] The spec file handles locales properly. %find_lang used for locales [-] %{optflags} or RPM_OPT_FLAGS are honoured [-] ldconfig called in %post and %postun if required [-] %install starts with rm -rf %{buildroot} or $RPM_BUILD_ROOT [-] Package use %makeinstall only when make install DESTDIR=... doesn't work. [-] Package must own all directories that it creates [x] Package requires other packages for directories it uses [x] Package does not own files or directories owned by other packages [x] Package does not contain duplicates in %files [x] Permissions on files are set properly. %defattr(-,root,root,-) is in every %files section [x] Package uses nothing in %doc for runtime [x] Package has a %clean section, which contains rm -rf %{buildroot} or $RPM_BUILD_ROOT (if it's still used) [-] Included tests passed successfully [x] Package consistently uses macros [x] Package contains code, or permissable content [x] Included filenames are in UTF-8 [-] Large documentation files are in a -doc subpackage, if required [-] Header files (.h) in -devel subpackage, if present [-] Fully versioned dependency in subpackage, if present [-] Static libraries (.a) in -static subpackage, if present [-] Package requires pkgconfig, if .pc files are present [-] Development .so files in -devel subpackage, if present [x] Package does not contain any libtool archives (.la) [x] -debuginfo subpackage is present and looks complete [x] No pre-built binaries (.a, .so*, executable) [-] Package contains a properly installed .desktop file if it is a GUI application [-] Follows desktop entry spec [-] Valid .desktop Name [-] Valid .desktop GenericName [-] Valid .desktop Categories [-] Valid .desktop StartupNotify [-] .desktop file installed with desktop-file-install in %install === SUGGESTED ITEMS === [-] Timestamps preserved with cp and install [x] Spec use %global instead of %define [-] Uses parallel make (%{?_smp_mflags}) [x] Latest version is packaged [-] Package does not include license text files separate from upstream [-] Description and summary sections in the package spec file contains translations for supported Non-English languages, if available [x] Package functions as described [-] Scriptlets must be sane, if used [-] The placement of pkgconfig(.pc) files is correct [-] File based requires are sane [x] Changelog in allowed format - myhdl is more a library than a application. Naming should be python-myhdl - You are mixing 'variable style' and 'macro style ' in your spec file - '-n %{name}-%{version}' is not needed, this is the default - Your package is 'noarch', remove the CFLAGS stuff
Thanks for your review and comments. Updated: SPEC: http://shakthimaan.fedorapeople.org/SPECS/python-myhdl.spec SRPM: http://shakthimaan.fedorapeople.org/SRPMS/python-myhdl-0.7-1.fc14.src.rpm * I have informed upstream to update their LICENSE.txt with the new FSF address. * Renamed myhdl.spec to python-myhdl.spec * Removed variable style use in .spec file * Removed CFLAGS in %build section $ rpmlint python-myhdl.spec 0 packages and 1 specfiles checked; 0 errors, 0 warnings. $ rpmlint python-myhdl-0.7-1.fc14.src.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. $ rpmlint python-myhdl-0.7-1.fc14.noarch.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. Successful Koji builds for F-14, F-15, F-16 and EL-6: http://koji.fedoraproject.org/koji/taskinfo?taskID=3112554 http://koji.fedoraproject.org/koji/taskinfo?taskID=3112556 http://koji.fedoraproject.org/koji/taskinfo?taskID=3112558 http://koji.fedoraproject.org/koji/taskinfo?taskID=3112560
rpmlint still warns about the FSF address. But from my point of view this is not a blocker. Package APPROVED
New Package SCM Request ======================= Package Name: python-myhdl Short Description: A python hardware description and verification language Owners: shakthimaan Branches: F-14 F-15 F-16 EL-6 InitialCC: shakthimaan
Git done (by process-git-requests). f16==devel, no need to request.
python-myhdl-0.7-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/python-myhdl-0.7-1.fc14
python-myhdl-0.7-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-myhdl-0.7-1.el6
python-myhdl-0.7-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/python-myhdl-0.7-1.fc15
python-myhdl-0.7-1.el6 has been pushed to the Fedora EPEL 6 testing repository.
python-myhdl-0.7-1.fc14 has been pushed to the Fedora 14 stable repository.
python-myhdl-0.7-1.fc15 has been pushed to the Fedora 15 stable repository.
python-myhdl-0.7-1.el6 has been pushed to the Fedora EPEL 6 stable repository.