Custom Query (344 matches)
Results (43 - 45 of 344)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#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). |
|||
#77 | fixed | 'No module named urlgrabber' after 'yum update python' | ||
Description |
After I did a 'yum update python' I always get - {1}[m:\] yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named urlgrabber Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is: 2.7.6 (default, Apr 7 2014, 18:19:49) [GCC 4.7.3] If you cannot solve this problem yourself, please go to the yum faq at: http://yum.baseurl.org/wiki/Faq Other packages are also updated but don't know which. Is there a log somewhere? |
|||
#80 | fixed | The Perl RPM package doesn't actually contain any Perl | ||
Description |
[C:\]yum install perl netlabs-rel 100% |=========================| 1.3 kB 00:00 Setting up Install Process Package perl-5.10.0-3.oc00.i386 already installed and latest version Nothing to do [C:\]perl SYS1041: The name perl is not recognized as an internal or external command, operable program or batch file. |