Disttags in mock?
Jesse Keating
jkeating at j2solutions.net
Wed Aug 16 17:57:38 UTC 2006
On Wednesday 16 August 2006 13:50, Clark Williams wrote:
> Gladly, but I have no idea where that repo is :). Should I just pull
> the SRPM from an extras repo?
Sure you can do that... I've attached it here too.
--
Jesse Keating RHCE (geek.j2solutions.net)
Fedora Legacy Team (www.fedoralegacy.org)
GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-buildsys-list/attachments/20060816/9f053496/attachment.sig>
-------------- next part --------------
Summary: Builds packages inside chroots
Name: mock
Version: 0.6
Release: 4%{?dist}
License: GPL
Group: Development/Tools
Source: http://fedoraproject.org/projects/mock/releases/%{name}-%{version}.tar.gz
URL: http://fedoraproject.org/wiki/Projects/Mock
Patch0: devellink.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: python, yum >= 2.2.1
Requires(pre): shadow-utils
BuildRequires: libselinux-devel
%description
Mock takes a srpm and builds it in a chroot
%prep
%setup -q
%patch -p 1
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# make the default.cfg link
cd $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
%if 0%{?fedora:1}
if [ -f fedora-%{fedora}-%{_target_cpu}-core.cfg ]; then
ln -s fedora-%{fedora}-%{_target_cpu}-core.cfg default.cfg
fi
%endif
# if we haven't created a default link yet, try to do so as devel
if [ ! -f default.cfg ]; then
if [ -f fedora-development-%{_target_cpu}-core.cfg ]; then
ln -s fedora-development-%{_target_cpu}-core.cfg default.cfg
else
ln -s fedora-development-i386-core.cfg default.cfg
fi
fi
%clean
rm -rf $RPM_BUILD_ROOT
%pre
if [ $1 -eq 1 ]; then
groupadd -r mock >/dev/null 2>&1 || :
fi
%files
%defattr(-, root, root)
%doc README ChangeLog
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*.cfg
%{_bindir}/%{name}
%{_libexecdir}/mock-yum
%{_mandir}/man1/mock.1*
%attr(04750, root, mock) %{_sbindir}/mock-helper
%attr(02775, root, mock) %dir /var/lib/mock
%{_libdir}/libselinux-mock.so
%changelog
* Fri Jun 23 2006 Jesse Keating <jkeating at redhat.com> - 0.6-4
- And fix the link syntax.
* Wed Jun 21 2006 Jesse Keating <jkeating at redhat.com> - 0.6-3
- Add patch symlink fedora-6 to development, not 5.
* Tue Jun 20 2006 Jesse Keating <jkeating at redhat.com> - 0.6-1
- New upstream version 0.6
* Tue Mar 21 2006 Dan Williams <dcbw at redhat.com> - 0.4-8
- bump release for fc5/fc6 split
* Tue Mar 21 2006 Dan Williams <dcbw at redhat.com> - 0.4-7
- Update to mock CVS; add symlinks for /dev/std[in|out|err] to buildroots
* Thu Mar 2 2006 Seth Vidal <skvidal at linux.duke.edu> - 0.4-6
- iterate for gcc rebuild and fc5 final
* Tue Jan 24 2006 Dan Williams <dcbw at redhat.com> - 0.4-5
- Back out setpgrp patch, found a better way to do it in plague
* Tue Jan 24 2006 Dan Williams <dcbw at redhat.com> - 0.4-4
- Add option to create new process group so mock and its children
may be more easily killed
* Wed Jan 18 2006 Dan Williams <dcbw at redhat.com> - 0.4-3
- Add unpackaged files fix from RH#163576 (Adrian Reber)
* Tue Dec 27 2005 Seth Vidal <skvidal at phy.duke.edu>
- add patch from Andreas Thienemann - adds man page
* Tue Aug 16 2005 Matthias Saou <http://freshrpms.net/> 0.4-2
- Fix ?fedora check when not defined (would fail to parse).
* Thu Aug 4 2005 Seth Vidal <skvidal at phy.duke.edu>
- 0.4
- update urls
- add in selinux buildreq and mock-yum file
* Sun Jun 12 2005 Jeremy Katz <katzj at redhat.com>
- set default.cfg based on both arch and distro built for
* Sat Jun 11 2005 Seth Vidal <skvidal at phy.duke.edu>
- security fix in mock-helper
* Sat Jun 11 2005 Seth Vidal <skvidal at phy.duke.edu>
- mock 0.3 - security release
- mock-helper allowed execution of arbitrary commands by member of mock
group
* Sun Jun 5 2005 Seth Vidal <skvidal at phy.duke.edu>
- clean up packaging for fedora extras
* Thu May 19 2005 Seth Vidal <skvidal at phy.duke.edu>
- second packaging and backing down the yum ver req
* Sun May 15 2005 Seth Vidal <skvidal at phy.duke.edu>
- first version/packaging
More information about the Fedora-buildsys-list
mailing list