Bug 245878 - Review Request: stardict-dic-en - English(en) dictionaries for StarDict
Summary: Review Request: stardict-dic-en - English(en) dictionaries for StarDict
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-27 05:38 UTC by Hu Zheng
Modified: 2007-11-30 22:12 UTC (History)
2 users (show)

Fixed In Version: 2.4.2-3.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-05 19:22:02 UTC
Type: ---
Embargoed:
panemade: fedora-review+
wtogami: fedora-cvs+


Attachments (Terms of Use)

Description Hu Zheng 2007-06-27 05:38:19 UTC
Spec URL:
http://reciteword.cosoft.org.cn/redhat/stardict-dic-en.spec
SRPM URL:
http://reciteword.cosoft.org.cn/redhat/stardict-dic-en-2.4.2-3.fc7.src.rpm

Description: English(en) dictionaries for StarDict

Comment 1 Ralf Corsepius 2007-06-27 06:05:29 UTC
Here _datadir seems to be used correctly.

Another remark:
This is pretty clumsy:

%prep
if [ ! -d %{name}-%{version} ]; then mkdir %{name}-%{version}; fi
%setup -q -n %{name}-%{version} -D -T -a 0

It can be written much shorter:
%prep
%setup -q -c -a 0

[rsp. .... -a 0 -a 1 ... -a N, for packages consisting of more tarballs.]


Comment 2 Hu Zheng 2007-06-27 07:36:34 UTC
How about add another dict next time? So I think it is better to use the same
scheme as other dic spec files.

Comment 3 Ralf Corsepius 2007-06-27 08:15:03 UTC
<In reply to comment #2)
> How about add another dict next time?
Add another -a <N>

> So I think it is better to use the same
> scheme as other dic spec files.
OK, more bluntly: Your construct is a broken hack.

If you prefer one line per packages, then at least do it the rpm way:
%setup -c -T -n %{name}-%{version}
%setup -q -n %{name}-%{version} -D -T -a 0
%setup -q -n %{name}-%{version} -D -T -a 1

Compare what happens using this construct:

+ rm -rf stardict-dic-ja-2.4.2
+ /bin/mkdir -p stardict-dic-ja-2.4.2
+ cd stardict-dic-ja-2.4.2
++ /usr/bin/id -u
+ '[' 1005 = 0 ']'
++ /usr/bin/id -u
+ '[' 1005 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /home/user/src/rpms/BUILD
+ cd stardict-dic-ja-2.4.2
+ /usr/bin/bzip2 -dc /home/user/src/rpms/SOURCES/stardict-edict-2.4.2.tar.bz2

Against what happens with your contruct:
+ '[' '!' -d stardict-dic-ja-2.4.2 ']'
+ cd /home/user/src/rpms/BUILD
+ cd stardict-dic-ja-2.4.2
+ /usr/bin/bzip2 -dc /home/user/src/rpms/SOURCES/stardict-edict-2.4.2.tar.bz2
+ tar -xf -

=> MUSTFIX


Comment 4 Hu Zheng 2007-06-27 08:31:48 UTC
Fixed as the same file :)
Thank you!

Comment 5 Kevin Fenzi 2007-06-27 16:30:37 UTC
Note that convention is to increase the release and add a changelog for each
change (even during review). This allows reviewers to tell when an item was
fixed and to confirm that they have the latest version for review. 

Comment 6 Hu Zheng 2007-06-28 01:23:48 UTC
OK, I will do this next time.

Can we approve them now? In fact, these packages come from a approved spec file
ago, so I think they can be stable now.

Comment 7 Parag AN(पराग) 2007-07-02 03:34:49 UTC
Review:
+ package builds in mock (development i386).
+ rpmlint is silent for SRPM and RPM.
+ source files match upstream.
f164dcb24b1084e1cfa2b1cb63d590e6  stardict-dictd_www.dict.org_wn-2.4.2.tar.bz2
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
- License text is NOT included in package.
- no %doc files as I think dictd_www.dict.org_wn.ifo is not %doc
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains content.
+ no static libraries.
+ no .pc files are present.
+ no -devel subpackage exists.
+ no .la files.
+ no translations are available.
+ Does owns the directories it creates.
+ no duplicates in %files.
+ file permissions are appropriate.
+ no scriptlets are used.
+ Not a GUI app.
+ Requires: stardict >= 2.4.2

APPROVED.


Comment 8 Hu Zheng 2007-07-02 04:00:54 UTC
Notice, because of bandwidth issue, I didn't upload the newest SRPM, you can
download the old srpm, replace the spec file with the newest one and rebuild to
get the newest srpm file.


Comment 9 Hu Zheng 2007-07-02 05:30:40 UTC
New Package CVS Request
=======================
Package Name: stardict-dic-en
Short Description: English(en) dictionaries for StarDict
Owners: zhu
Branches: F-7
InitialCC: 

Comment 10 Fedora Update System 2007-07-05 19:21:55 UTC
stardict-dic-en-2.4.2-3.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.


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