Bug 821296
Summary: | Review Request: drpython - python IDE | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adrian Alves <aalves> |
Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | aalves, i, mario.blaettermann, notting |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-25 12:46:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 201449 |
Description
Adrian Alves
2012-05-14 01:34:31 UTC
fedora-review -b 821296 --mock-config fedora-16-x86_64 [x]: SHOULD Spec use %global instead of %define. Issues: [!]: MUST Package successfully compiles and builds into binary rpms on at least one supported primary architecture. See: http://fedoraproject.org/wiki/Packaging/Guidelines#Architecture_Support [!]: MUST All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. Note: The package did not built BR could therefore not be checked or the package failed to build because of missing BR See: http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2 [!]: MUST Each %files section contains %defattr if rpm < 4.4 Note: defattr(....) present in %files section. This is OK if packaging for EPEL5. Otherwise not needed See: http://fedoraproject.org/wiki/Packaging/Guidelines#FilePermissions [!]: MUST Package consistently uses macros (instead of hard-coded directory names). Note: Using both %{buildroot} and $RPM_BUILD_ROOT See: http://fedoraproject.org/wiki/Packaging/Guidelines#macros http://fedoraproject.org/wiki/Packaging/Guidelines#desktop-file-install_usage (...) and have BuildRequires: desktop-file-utils (In reply to comment #1) > fedora-review -b 821296 --mock-config fedora-16-x86_64 > > [x]: SHOULD Spec use %global instead of %define. > > Issues: > [!]: MUST Package successfully compiles and builds into binary rpms on at > least one supported primary architecture. > See: http://fedoraproject.org/wiki/Packaging/Guidelines#Architecture_Support > [!]: MUST All build dependencies are listed in BuildRequires, except for any > that are listed in the exceptions section of Packaging Guidelines. > Note: The package did not built BR could therefore not be checked or the > package failed to build because of missing BR > See: http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2 > [!]: MUST Each %files section contains %defattr if rpm < 4.4 > Note: defattr(....) present in %files section. This is OK if packaging > for EPEL5. Otherwise not needed > See: http://fedoraproject.org/wiki/Packaging/Guidelines#FilePermissions > [!]: MUST Package consistently uses macros (instead of hard-coded directory > names). > Note: Using both %{buildroot} and $RPM_BUILD_ROOT > See: http://fedoraproject.org/wiki/Packaging/Guidelines#macros Fixed, check this out: Spec URL: http://alvesadrian.fedorapeople.org/drpython.spec SRPM URL: http://alvesadrian.fedorapeople.org/drpython-3.11.1-1.fc16.src.rpm Spec URL: http://alvesadrian.fedorapeople.org/drpython.spec SRPM URL: http://alvesadrian.fedorapeople.org/drpython-3.11.1-2.fc16.src.rpm Some details [!]: SHOULD Spec use %global instead of %define. Note: %define nameup DrPython drpython.src: W: spelling-error %description -l en_US customizable -> customization drpython.src: W: non-standard-group Development/Python drpython.src: E: tag-not-utf8 %changelog drpython.src: E: non-utf8-spec-file /tmp/rpmlint.drpython-3.11.1-2.fc16.src.rpm.Ek4ENv/drpython.spec drpython.src:3: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab: line 2) (In reply to comment #5) > Some details > > [!]: SHOULD Spec use %global instead of %define. > Note: %define nameup DrPython > > drpython.src: W: spelling-error %description -l en_US customizable -> > customization > > drpython.src: W: non-standard-group Development/Python > > drpython.src: E: tag-not-utf8 %changelog > > drpython.src: E: non-utf8-spec-file > /tmp/rpmlint.drpython-3.11.1-2.fc16.src.rpm.Ek4ENv/drpython.spec > > drpython.src:3: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab: line 2) Fixed Spec URL: http://alvesadrian.fedorapeople.org/drpython.spec SRPM URL: http://alvesadrian.fedorapeople.org/drpython-3.11.1-3.fc16.src.rpm Al least fix errors: drpython.src: W: spelling-error %description -l en_US customizable -> customization drpython.src: W: non-standard-group Development/Python drpython.src: E: tag-not-utf8 %changelog drpython.src: E: non-utf8-spec-file /tmp/rpmlint.drpython-3.11.1-2.fc16.src.rpm.KpH03m/drpython.spec drpython.src:3: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab: line 2) 1 packages and 0 specfiles checked; 2 errors, 3 warnings. (In reply to comment #7) > Al least fix errors: > > drpython.src: W: spelling-error %description -l en_US customizable -> > customization > > drpython.src: W: non-standard-group Development/Python > > drpython.src: E: tag-not-utf8 %changelog > > drpython.src: E: non-utf8-spec-file > /tmp/rpmlint.drpython-3.11.1-2.fc16.src.rpm.KpH03m/drpython.spec > > drpython.src:3: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab: line 2) > 1 packages and 0 specfiles checked; 2 errors, 3 warnings. Sergio I already chance those are u checking my new spec on my people? please check it release 3 has all those fixes. Spec URL: http://alvesadrian.fedorapeople.org/drpython.spec SRPM URL: http://alvesadrian.fedorapeople.org/drpython-3.11.1-3.fc16.src.rpm Regards, Adrian.- (In reply to comment #7) > Al least fix errors: > > drpython.src: W: spelling-error %description -l en_US customizable -> > customization > > drpython.src: W: non-standard-group Development/Python > > drpython.src: E: tag-not-utf8 %changelog > > drpython.src: E: non-utf8-spec-file > /tmp/rpmlint.drpython-3.11.1-2.fc16.src.rpm.KpH03m/drpython.spec > > drpython.src:3: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab: line 2) > 1 packages and 0 specfiles checked; 2 errors, 3 warnings. I already fix those issues: Spec URL: http://alvesadrian.fedorapeople.org/drpython.spec SRPM URL: http://alvesadrian.fedorapeople.org/drpython-3.11.1-3.fc16.src.rpm still 2 the we can fix : iconv drpython.spec -c > tmp diff tmp drpython.spec 128c128 < * Tue Sep 05 2006 Nicolas Lcureuil <neoclust> 161-2mdv2007.0 --- > * Tue Sep 05 2006 Nicolas L�cureuil <neoclust> 161-2mdv2007.0 clean � please do you use vim ? http://vim.wikia.com/wiki/Converting_tabs_to_spaces :set expandtab (this is default code style now) :set tabstop=4 (also my default) :retab (and all tabs fixed) (In reply to comment #10) > still 2 the we can fix : > > iconv drpython.spec -c > tmp > diff tmp drpython.spec > 128c128 > < * Tue Sep 05 2006 Nicolas Lcureuil <neoclust> 161-2mdv2007.0 > --- > > * Tue Sep 05 2006 Nicolas L�cureuil <neoclust> 161-2mdv2007.0 > > clean � please > > > do you use vim ? > http://vim.wikia.com/wiki/Converting_tabs_to_spaces > > :set expandtab (this is default code style now) > :set tabstop=4 (also my default) > :retab (and all tabs fixed) Fixed: Spec URL: http://alvesadrian.fedorapeople.org/drpython.spec SRPM URL: http://alvesadrian.fedorapeople.org/drpython-3.11.1-3.fc16.src.rpm (In reply to comment #11) > > do you use vim ? > > http://vim.wikia.com/wiki/Converting_tabs_to_spaces > > > > :set expandtab (this is default code style now) > > :set tabstop=4 (also my default) > > :retab (and all tabs fixed) not fixed , but rpm -ql drpython /%_iconsdir/drpython.png /%_iconsdir/hicolor/16x16/apps/drpython.png /%_iconsdir/hicolor/32x32/apps/drpython.png /%_iconsdir/hicolor/48x48/apps/drpython.png /%_liconsdir/drpython.png /%_miconsdir/drpython.png cd /etc/rpm/ grep iconsdir * rpm -qf macros.jpackage jpackage-utils-1.7.5-15.fc16.x86_64 or you put jpackage-utils-1.7.5-15.fc16.x86_64 in BuildRequires or change %_iconsdir %{_datadir}/icons %_miconsdir %{_datadir}/icons/mini %_liconsdir %{_datadir}/icons/large (In reply to comment #12) > (In reply to comment #11) > > > > do you use vim ? > > > http://vim.wikia.com/wiki/Converting_tabs_to_spaces > > > > > > :set expandtab (this is default code style now) > > > :set tabstop=4 (also my default) > > > :retab (and all tabs fixed) > > not fixed , > > but rpm -ql drpython > /%_iconsdir/drpython.png > /%_iconsdir/hicolor/16x16/apps/drpython.png > /%_iconsdir/hicolor/32x32/apps/drpython.png > /%_iconsdir/hicolor/48x48/apps/drpython.png > /%_liconsdir/drpython.png > /%_miconsdir/drpython.png > > cd /etc/rpm/ > grep iconsdir * > > rpm -qf macros.jpackage > jpackage-utils-1.7.5-15.fc16.x86_64 > > or you put jpackage-utils-1.7.5-15.fc16.x86_64 in BuildRequires or change > %_iconsdir %{_datadir}/icons > %_miconsdir %{_datadir}/icons/mini > %_liconsdir %{_datadir}/icons/large New release with ur suggestions: Spec URL: http://alvesadrian.fedorapeople.org/drpython.spec SRPM URL: http://alvesadrian.fedorapeople.org/drpython-3.11.1-4.fc16.src.rpm What's the current status? I'm out for now For SourceForge stuff, use the following download location: Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.zip See http://fedoraproject.org/wiki/Packaging:SourceURL#Sourceforge.net for more info. python-devel is deprecated, use python2-devel instead: https://fedoraproject.org/wiki/Packaging:Python#BuildRequires $ rpmlint -i -v *spec drpython.spec:3: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab: line 2) The specfile mixes use of spaces and tabs for indentation, which is a cosmetic annoyance. Use either spaces or tabs for indentation, not both. I recommend to use spaces only, then your spec looks the same in every text editor. BuildRequires: python doesn't make sense, because we need the development files of Python explicitely. Can be safely dropped from BR. There was no answer from the submitter for 15 months, and the needinfo request two months ago is also without response. I close it as FE-DEADREVIEW. |