Closed xianglei closed 10 years ago
I have some questions. Well, I don't use rpm-based distribution. I wrote the followings with googling. If I misunderstand rpm spec, tell me.
I don't want to add version number to the spec file name and its contents. It must be changed by hand when a new version is released. I prefer to change it automatically when configure script runs.
0.9.0
in spec/snzip.spec.in to @VERSION@
.AC_CONFIG_FILES([Makefile])
in configure.ac to AC_CONFIG_FILES([Makefile spec/snzip.spec])
.The Summary:
line is a short description, whereas %description
is detailed description.
IMO, it is better to change them as follows.
Summay: compress/decompress command line tool using snappy
... snip ...
%description
Snzip is compress/decompress command line tool using snappy.
This supports four type of file formats; snzip format, framing-format, snappy-java
format and snappy-in-java format. The default format is snzip.
Well, the default format will be changed to latest framing-format at the next release.
Why zlib is required to build snzip? IMO, snappy-devel should be used instead of zlib.
What is Url: http://www.phphiveadmin.net
?
The site is yours? IMO it should be URL about software, not the packager.
The Source:
line should be URL according to http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html.
Well, maybe I forgot to change something, sorry about that things. I just wanna thank you for your great work. phphiveadmin.net is my personal website. Its a Hive(Hadoop) web ui tools. I use snappy on my hadoop cluster, and I often use your snzip on my cluster. So, thank you for your greate work again.
Great job!! and I love your awesome work