[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/mock/devel mock.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: skvidal

Update of /cvs/extras/rpms/mock/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7117/devel

Modified Files:
	.cvsignore sources 
Added Files:
	mock.spec 
Log Message:
auto-import mock-0.2-2 on branch devel from mock-0.2-2.src.rpm


--- NEW FILE mock.spec ---
Summary: Builds packages inside chroots
Name: mock
Version: 0.2
Release: 2
License: GPL
Group: Development/Tools
Source: http://linux.duke.edu/~skvidal/mock/%{name}-%{version}.tar.gz
URL: http://linux.duke.edu/~skvidal/mock/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: python, yum >= 2.2.1
Requires(pre): shadow-utils


%description
Mock takes a srpm and builds it in a chroot

%prep
%setup -q

%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}
ln -s fedora-development-i386-core.cfg default.cfg


%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}
%attr(04750, root, mock) %{_sbindir}/mock-helper
%attr(02775, root, mock) %dir /var/lib/mock


%changelog
* Sun Jun  5 2005 Seth Vidal <skvidal phy duke edu>
- clean up packaging for fedora extras

* Thu May 19 2005 Seth Vidal <skvidal phy duke edu>
- second packaging and backing down the yum ver req

* Sun May 15 2005 Seth Vidal <skvidal phy duke edu>
- first version/packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mock/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Jun 2005 19:36:55 -0000	1.1
+++ .cvsignore	11 Jun 2005 19:37:11 -0000	1.2
@@ -0,0 +1 @@
+mock-0.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mock/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Jun 2005 19:36:55 -0000	1.1
+++ sources	11 Jun 2005 19:37:11 -0000	1.2
@@ -0,0 +1 @@
+8451dd235ef0c1927a2acee68e72d621  mock-0.2.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]