[1279] | 1 | %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
---|
| 2 |
|
---|
| 3 | # disable broken /usr/lib/rpm/brp-python-bytecompile
|
---|
| 4 | %define __os_install_post %{nil}
|
---|
| 5 | %define compdir %(pkg-config --variable=completionsdir bash-completion)
|
---|
| 6 | %if "%{compdir}" == ""
|
---|
| 7 | %define compdir "/@unixroot/etc/bash_completion.d"
|
---|
| 8 | %endif
|
---|
| 9 |
|
---|
[321] | 10 | Summary: Creates a common metadata repository
|
---|
| 11 | Name: createrepo
|
---|
[1279] | 12 | Version: 0.10.4
|
---|
[1547] | 13 | Release: 3%{?dist}
|
---|
[1279] | 14 | License: GPLv2
|
---|
[321] | 15 | Group: System Environment/Base
|
---|
[1279] | 16 | URL: http://createrepo.baseurl.org/
|
---|
| 17 |
|
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
---|
[321] | 19 | BuildArchitectures: noarch
|
---|
[1279] | 20 | Requires: python >= 2.1, rpm-python, rpm >= 4.1.1, libxml2-python
|
---|
| 21 | Requires: yum-metadata-parser, yum >= 3.4.3, python-deltarpm, deltarpm, pyliblzma
|
---|
| 22 | BuildRequires: python
|
---|
[321] | 23 |
|
---|
[1279] | 24 | Vendor: bww bitwise works GmbH
|
---|
[1547] | 25 | %scm_source svn http://svn.netlabs.org/repos/ports/createrepo/trunk 2317
|
---|
[1279] | 26 |
|
---|
[321] | 27 | %description
|
---|
[1279] | 28 | This utility will generate a common metadata repository from a directory of rpm
|
---|
| 29 | packages.
|
---|
[321] | 30 |
|
---|
| 31 | %prep
|
---|
[1279] | 32 | %scm_setup
|
---|
[321] | 33 |
|
---|
[1279] | 34 | %build
|
---|
| 35 |
|
---|
[321] | 36 | %install
|
---|
[1279] | 37 | rm -rf $RPM_BUILD_ROOT
|
---|
| 38 | make DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} install
|
---|
[321] | 39 |
|
---|
| 40 | %clean
|
---|
[1279] | 41 | rm -rf $RPM_BUILD_ROOT
|
---|
[321] | 42 |
|
---|
| 43 | %files
|
---|
[1279] | 44 | %defattr(-, root, root,-)
|
---|
| 45 | %doc ChangeLog README
|
---|
| 46 | %license COPYING COPYING.lib
|
---|
| 47 | %(dirname %{compdir})
|
---|
| 48 | %{_datadir}/%{name}/
|
---|
| 49 | %{_bindir}/createrepo
|
---|
[321] | 50 | %{_bindir}/modifyrepo
|
---|
[1279] | 51 | %{_bindir}/mergerepo
|
---|
| 52 | %{_mandir}/*/*
|
---|
| 53 | %{python_sitelib}/createrepo
|
---|
[321] | 54 |
|
---|
| 55 | %changelog
|
---|
[1547] | 56 | * Sun Dec 30 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.10.4-3
|
---|
| 57 | - fix verbose and messages output to stdout (rpm ticket #325)
|
---|
| 58 |
|
---|
[1515] | 59 | * Fri Nov 09 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.10.4-2
|
---|
[1547] | 60 | - fix amount of workers
|
---|
[1515] | 61 | - fix select() issue on stdout/stderr
|
---|
| 62 |
|
---|
[1279] | 63 | * Tue Dec 19 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.10.4-1
|
---|
| 64 | - update to vendor version 0.10.4
|
---|
| 65 |
|
---|
| 66 | * Tue Nov 22 2011 yd
|
---|
[321] | 67 | - fixed /@unixroot access
|
---|
| 68 |
|
---|
| 69 | * Fri Sep 03 2010 yd
|
---|
| 70 | - initial build
|
---|