Custom Query (344 matches)
Results (22 - 24 of 344)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#74 | fixed | Package gawk-4.0.0-2.oc00.i686.rpm is broken | ||
Description |
Doing yum install gawk downloads a 64kb file and cpio fails. Total size: 64 k Installed size: 2.6 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : gawk-4.0.0-2.oc00.i686 1/1 Error unpacking rpm package gawk-4.0.0-2.oc00.i686 error: unpacking of archive failed on file /@unixroot/usr/bin/dgawk.exe;538411cd : cpio: read Failed: gawk.i686 0:4.0.0-2.oc00 Installing gawk.i686 0:4.0.0-1.oc00 seems fine with a 1.2MB download. |
|||
#75 | fixed | Mercurial package broken with python27 | ||
Description |
Mercurial looks for python 2.65 and fails to install with python 2.7.6 installed. |
|||
#76 | fixed | spec: Pull sources directly from SVN/GIT | ||
Description |
Currently, for many packages the logic of obtaining the sources to build the package is like this:
This approach has several problems:
I have a better solution which I already tested on a small
For GIT, use a similar logic but with the appropriate variables This way, no duplication takes place, no manual work is needed and it's always clear which revision the given RPM represents. This simplifies package managing a lot. The .spec code for this is very simple, these are the corresponding parts from http://trac.netlabs.org/rpm/browser/spec/trunk/SPECS/which.spec?rev=429 which may be used as a template: %define svn_url http://svn.netlabs.org/repos/ports/which/trunk %define svn_rev 733 Source: %{name}-%{version}-r%{svn_rev}.zip %prep %if %(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi') %setup -q %else %setup -n "%{name}-%{version}" -Tc svn export -r %{svn_rev} %{svn_url} . --force rm -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" "%{name}-%{version}") %endif I suggest to use this approach for all programs for which we maintain a SVN or a GIT repo (i.e. everything from http://trac.netlabs.org/ports/, for instance). |