|
|
@ -55,13 +55,6 @@ RUN wget -nv -P /tmp http://vault.centos.org/6.10/os/Source/SPackages/binutils-2
|
|
|
|
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/binutils{,-devel}-2*.rpm \
|
|
|
|
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/binutils{,-devel}-2*.rpm \
|
|
|
|
&& rm -fv /tmp/*.src.rpm
|
|
|
|
&& rm -fv /tmp/*.src.rpm
|
|
|
|
|
|
|
|
|
|
|
|
# Build dependencies
|
|
|
|
|
|
|
|
RUN wget -nv -P /tmp http://vault.centos.org/6.10/os/Source/SPackages/file-5.04-30.el6.src.rpm \
|
|
|
|
|
|
|
|
&& rpm -ivh --nomd5 /tmp/file-5.04-30.el6.src.rpm \
|
|
|
|
|
|
|
|
&& setarch ${ARCH} rpmbuild -ba ${HOME}/rpmbuild/SPECS/file.spec \
|
|
|
|
|
|
|
|
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/file{,-libs,-devel}-5*.rpm \
|
|
|
|
|
|
|
|
&& rm -fv /tmp/*.src.rpm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN wget -nv -P /tmp http://archives.fedoraproject.org/pub/archive/epel/6/SRPMS/Packages/p/pcsc-perl-1.4.14-2.el6.src.rpm \
|
|
|
|
RUN wget -nv -P /tmp http://archives.fedoraproject.org/pub/archive/epel/6/SRPMS/Packages/p/pcsc-perl-1.4.14-2.el6.src.rpm \
|
|
|
|
&& rpm -ivh --nomd5 /tmp/pcsc-perl-1.4.14-2.el6.src.rpm \
|
|
|
|
&& rpm -ivh --nomd5 /tmp/pcsc-perl-1.4.14-2.el6.src.rpm \
|
|
|
|
&& sed -i ${HOME}/rpmbuild/SPECS/pcsc-perl.spec -e "s|%license|%doc|" -e "/URL:/ s|$|\nBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)|" \
|
|
|
|
&& sed -i ${HOME}/rpmbuild/SPECS/pcsc-perl.spec -e "s|%license|%doc|" -e "/URL:/ s|$|\nBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)|" \
|
|
|
@ -108,9 +101,3 @@ RUN wget -nv -P /tmp http://vault.centos.org/6.10/os/Source/SPackages/exempi-2.1
|
|
|
|
&& setarch ${ARCH} rpmbuild -ba ${HOME}/rpmbuild/SPECS/exempi.spec \
|
|
|
|
&& setarch ${ARCH} rpmbuild -ba ${HOME}/rpmbuild/SPECS/exempi.spec \
|
|
|
|
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/exempi{,-devel}-2*.rpm \
|
|
|
|
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/exempi{,-devel}-2*.rpm \
|
|
|
|
&& rm -fv /tmp/*.src.rpm
|
|
|
|
&& rm -fv /tmp/*.src.rpm
|
|
|
|
|
|
|
|
|
|
|
|
RUN wget -nv -P /tmp http://vault.centos.org/6.10/os/Source/SPackages/pilot-link-0.12.4-6.el6.src.rpm \
|
|
|
|
|
|
|
|
&& rpm -ivh --nomd5 /tmp/pilot-link-0.12.4-6.el6.src.rpm \
|
|
|
|
|
|
|
|
&& setarch ${ARCH} rpmbuild -ba ${HOME}/rpmbuild/SPECS/pilot-link.spec \
|
|
|
|
|
|
|
|
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/pilot-link{,-devel}-0*.rpm \
|
|
|
|
|
|
|
|
&& rm -fv /tmp/*.src.rpm
|
|
|
|
|
|
|
|