Changeset 1279 for spec/trunk/SPECS/createrepo.spec
- Timestamp:
- Dec 19, 2017, 10:25:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/createrepo.spec
r321 r1279 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 1 10 Summary: Creates a common metadata repository 2 11 Name: createrepo 3 Version: 0. 4.114 Release: 25 License: GPL 12 Version: 0.10.4 13 Release: 1%{?dist} 14 License: GPLv2 6 15 Group: System Environment/Base 7 Source: %{name}-%{version}.tar.gz 8 Patch0: createrepo-os2.patch 9 URL: http://linux.duke.edu/metadata/ 10 BuildRoot: %{_tmppath}/%{name}-%{version}root 16 URL: http://createrepo.baseurl.org/ 17 18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 11 19 BuildArchitectures: noarch 12 Requires: python >= 2.1, rpm-python, rpm >= 0:4.1.1, libxml2-python 13 Requires: yum-metadata-parser 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 23 24 Vendor: bww bitwise works GmbH 25 %scm_source svn http://svn.netlabs.org/repos/ports/createrepo/trunk 2055 14 26 15 27 %description 16 This utility will generate a common metadata repository from a directory of 17 rpm packages 28 This utility will generate a common metadata repository from a directory of rpm 29 packages. 18 30 19 31 %prep 20 %setup -q 21 %patch0 -p1 32 %scm_setup 33 34 %build 22 35 23 36 %install 24 [ "$RPM_BUILD_ROOT" != "/" ] &&rm -rf $RPM_BUILD_ROOT25 %makeinstall37 rm -rf $RPM_BUILD_ROOT 38 make DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} install 26 39 27 40 %clean 28 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT 29 41 rm -rf $RPM_BUILD_ROOT 30 42 31 43 %files 32 %defattr(-, root, root) 33 %dir %{_datadir}/%{name} 34 %doc ChangeLog README COPYING COPYING.lib 35 %{_datadir}/%{name}/* 36 %{_bindir}/%{name} 44 %defattr(-, root, root,-) 45 %doc ChangeLog README 46 %license COPYING COPYING.lib 47 %(dirname %{compdir}) 48 %{_datadir}/%{name}/ 49 %{_bindir}/createrepo 37 50 %{_bindir}/modifyrepo 38 %{_mandir}/man8/createrepo.8* 51 %{_bindir}/mergerepo 52 %{_mandir}/*/* 53 %{python_sitelib}/createrepo 39 54 40 55 %changelog 41 * Thu Nov 22 2011 yd 56 * Tue Dec 19 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.10.4-1 57 - update to vendor version 0.10.4 58 59 * Tue Nov 22 2011 yd 42 60 - fixed /@unixroot access 43 61
Note:
See TracChangeset
for help on using the changeset viewer.