Change-Id: I1e8723611141497bc0a38390f1cca468512aa723
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1650
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sarah Choi <sarahc@vmware.com>
... | ... |
@@ -10,6 +10,8 @@ Vendor: VMware, Inc. |
10 | 10 |
Distribution: Photon |
11 | 11 |
Source0: %{name}-%{version}.tar.gz |
12 | 12 |
%define sha1 createrepo=b4e88b3a8cb4b4ef7154991d33948e3d05bd9663 |
13 |
+Source1: https://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz |
|
14 |
+%define sha1 pychecker=acbc469b4ecde0182e9be42dceeae5375a923ff3 |
|
13 | 15 |
URL: http://createrepo.baseurl.org/download/ |
14 | 16 |
BuildArchitectures: noarch |
15 | 17 |
Requires: python2 >= 2.1, rpm-devel, rpm >= 0:4.1.1, libxml2 |
... | ... |
@@ -26,14 +28,12 @@ rpm packages |
26 | 26 |
|
27 | 27 |
%prep |
28 | 28 |
%setup -q |
29 |
- |
|
29 |
+tar xf %{SOURCE1} |
|
30 | 30 |
%install |
31 | 31 |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
32 | 32 |
make DESTDIR=$RPM_BUILD_ROOT install |
33 | 33 |
|
34 | 34 |
%check |
35 |
-wget https://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz --no-check-certificate |
|
36 |
-tar xvf pychecker-0.8.19.tar.gz |
|
37 | 35 |
pushd pychecker-0.8.19 |
38 | 36 |
python setup.py install |
39 | 37 |
popd |
... | ... |
@@ -6,6 +6,8 @@ License: Sleepycat License |
6 | 6 |
URL: https://oss.oracle.com/berkeley-db.html |
7 | 7 |
Source0: http://download.oracle.com/berkeley-db/%{name}-%{version}.tar.gz |
8 | 8 |
%define sha1 db=5ae05c6c4a1766270fd5cfb28539e2b7a19c33b2 |
9 |
+Source1: http://prdownloads.sourceforge.net/tcl/tcl8.6.5-src.tar.gz |
|
10 |
+%define sha1 tcl=c3a50ea58dac00a3c7e83cb4a4651c40d0f55160 |
|
9 | 11 |
Group: Databases |
10 | 12 |
Vendor: VMware, Inc. |
11 | 13 |
Distribution: Photon |
... | ... |
@@ -26,6 +28,7 @@ The package contains the DB doc files |
26 | 26 |
|
27 | 27 |
%prep |
28 | 28 |
%setup -q |
29 |
+tar xf %{SOURCE1} |
|
29 | 30 |
%build |
30 | 31 |
cd build_unix |
31 | 32 |
../dist/configure \ |
... | ... |
@@ -42,8 +45,6 @@ popd |
42 | 42 |
find %{buildroot} -name '*.la' -delete |
43 | 43 |
|
44 | 44 |
%check |
45 |
-wget http://prdownloads.sourceforge.net/tcl/tcl8.6.5-src.tar.gz --no-check-certificate |
|
46 |
-tar xvf tcl8.6.5-src.tar.gz |
|
47 | 45 |
pushd tcl8.6.5/unix |
48 | 46 |
./configure --enable-threads --prefix=%{_prefix} |
49 | 47 |
make |
... | ... |
@@ -15,6 +15,8 @@ URL: https://dracut.wiki.kernel.org/ |
15 | 15 |
# http://git.kernel.org/?p=boot/dracut/dracut.git;a=snapshot;h=%{version};sf=tgz |
16 | 16 |
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz |
17 | 17 |
%define sha1 dracut=e2ef763d25927f2dec8834bb2ee8b34a0fa14ffd |
18 |
+Source1: https://sourceforge.net/projects/asciidoc/files/asciidoc/8.6.9/asciidoc-8.6.9.tar.gz |
|
19 |
+%define sha1 asciidoc=82e574dd061640561fa0560644bc74df71fb7305 |
|
18 | 20 |
Patch0: https://www.gnu.org/licenses/lgpl-2.1.txt |
19 | 21 |
Summary: dracut to create initramfs |
20 | 22 |
Vendor: VMware, Inc. |
... | ... |
@@ -44,6 +46,7 @@ This package contains tools to assemble the local initrd and host configuration. |
44 | 44 |
%prep |
45 | 45 |
%setup -q -n %{name}-%{version} |
46 | 46 |
cp %{PATCH0} . |
47 |
+tar xf %{SOURCE1} |
|
47 | 48 |
|
48 | 49 |
%build |
49 | 50 |
%configure --systemdsystemunitdir=%{_unitdir} --bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion) --libdir=%{_prefix}/lib \ |
... | ... |
@@ -87,15 +90,13 @@ mkdir -p $RPM_BUILD_ROOT%{_sbindir} |
87 | 87 |
ln -sr $RPM_BUILD_ROOT%{_bindir}/dracut $RPM_BUILD_ROOT%{_sbindir}/dracut |
88 | 88 |
|
89 | 89 |
%check |
90 |
-wget https://sourceforge.net/projects/asciidoc/files/asciidoc/8.6.9/asciidoc-8.6.9.tar.gz --no-check-certificate |
|
91 |
-tar xvf asciidoc-8.6.9.tar.gz |
|
92 | 90 |
pushd asciidoc-8.6.9 |
93 | 91 |
autoconf |
94 | 92 |
./configure |
95 | 93 |
make |
96 | 94 |
make install |
97 | 95 |
popd |
98 |
- |
|
96 |
+make %{?_smp_mflags} -k clean check |
|
99 | 97 |
%clean |
100 | 98 |
rm -rf -- $RPM_BUILD_ROOT |
101 | 99 |
|
... | ... |
@@ -6,6 +6,12 @@ License: GPLv2+ |
6 | 6 |
URL: http://www.gnu.org/software/%{name} |
7 | 7 |
Source0: http://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.gz |
8 | 8 |
%define sha1 gdb=67cfbc6efcff674aaac3af83d281cf9df0839ff9 |
9 |
+Source1: http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.5.14-src.tar.gz |
|
10 |
+%define sha1 tcl=9bc452eec453c2ed37625874b9011563db687b07 |
|
11 |
+Source2: http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz |
|
12 |
+%define sha1 expect=e634992cab35b7c6931e1f21fbb8f74d464bd496 |
|
13 |
+Source3: https://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-1.5.3.tar.gz |
|
14 |
+%define sha1 dejagnu=d81288e7d7bd38e74b7fee8e570ebfa8c21508d9 |
|
9 | 15 |
Group: Development/Tools |
10 | 16 |
Vendor: VMware, Inc. |
11 | 17 |
Distribution: Photon |
... | ... |
@@ -22,6 +28,10 @@ GDB, the GNU Project debugger, allows you to see what is going on |
22 | 22 |
another program was doing at the moment it crashed. |
23 | 23 |
%prep |
24 | 24 |
%setup -q |
25 |
+tar xf %{SOURCE1} |
|
26 |
+tar xf %{SOURCE2} |
|
27 |
+tar xf %{SOURCE3} |
|
28 |
+ |
|
25 | 29 |
%build |
26 | 30 |
./configure \ |
27 | 31 |
--prefix=%{_prefix} |
... | ... |
@@ -45,16 +55,12 @@ rm %{buildroot}%{_datadir}/locale/fi/LC_MESSAGES/opcodes.mo |
45 | 45 |
%find_lang %{name} --all-name |
46 | 46 |
|
47 | 47 |
%check |
48 |
-wget http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.5.14-src.tar.gz --no-check-certificate |
|
49 |
-tar xvf tcl8.5.14-src.tar.gz |
|
50 | 48 |
pushd tcl8.5.14/unix |
51 | 49 |
./configure --enable-threads --prefix=/usr |
52 | 50 |
make |
53 | 51 |
make install |
54 | 52 |
popd |
55 | 53 |
|
56 |
-wget http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz --no-check-certificate |
|
57 |
-tar xvf expect5.45.tar.gz |
|
58 | 54 |
pushd expect5.45 |
59 | 55 |
./configure --prefix=/usr |
60 | 56 |
make |
... | ... |
@@ -62,8 +68,6 @@ make install |
62 | 62 |
ln -svf expect5.45/libexpect5.45.so /usr/lib |
63 | 63 |
popd |
64 | 64 |
|
65 |
-wget https://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-1.5.3.tar.gz --no-check-certificate |
|
66 |
-tar xvf dejagnu-1.5.3.tar.gz |
|
67 | 65 |
pushd dejagnu-1.5.3 |
68 | 66 |
./configure --prefix=/usr |
69 | 67 |
make |
... | ... |
@@ -9,6 +9,12 @@ Vendor: VMware, Inc. |
9 | 9 |
Distribution: Photon |
10 | 10 |
Source0: ftp://sourceware.org/pub/libffi/%{name}-%{version}.tar.gz |
11 | 11 |
%define sha1 libffi=280c265b789e041c02e5c97815793dfc283fb1e6 |
12 |
+Source1: https://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-1.5.3.tar.gz |
|
13 |
+%define sha1 dejagnu=d81288e7d7bd38e74b7fee8e570ebfa8c21508d9 |
|
14 |
+Source2: http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz |
|
15 |
+%define sha1 expect=e634992cab35b7c6931e1f21fbb8f74d464bd496 |
|
16 |
+Source3: http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.5.14-src.tar.gz |
|
17 |
+%define sha1 tcl=9bc452eec453c2ed37625874b9011563db687b07 |
|
12 | 18 |
Provides: pkgconfig(libffi) |
13 | 19 |
%description |
14 | 20 |
The libffi library provides a portable, high level programming interface |
... | ... |
@@ -16,6 +22,9 @@ to various calling conventions. This allows a programmer to call any |
16 | 16 |
function specified by a call interface description at run time. |
17 | 17 |
%prep |
18 | 18 |
%setup -q |
19 |
+tar xf %{SOURCE1} |
|
20 |
+tar xf %{SOURCE2} |
|
21 |
+tar xf %{SOURCE3} |
|
19 | 22 |
%build |
20 | 23 |
sed -e '/^includesdir/ s:$(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include:$(includedir):' \ |
21 | 24 |
-i include/Makefile.in && |
... | ... |
@@ -42,14 +51,6 @@ find %{buildroot}/%{_libdir} -name '*.la' -delete |
42 | 42 |
rm -rf %{buildroot}/%{_infodir} |
43 | 43 |
%{_fixperms} %{buildroot}/* |
44 | 44 |
%check |
45 |
-wget https://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-1.5.3.tar.gz --no-check-certificate |
|
46 |
-wget http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz --no-check-certificate |
|
47 |
-wget http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.5.14-src.tar.gz --no-check-certificate |
|
48 |
- |
|
49 |
-tar xvf dejagnu-1.5.3.tar.gz |
|
50 |
-tar xvf expect5.45.tar.gz |
|
51 |
-tar xvf tcl8.5.14-src.tar.gz |
|
52 |
- |
|
53 | 45 |
pushd tcl8.5.14/unix |
54 | 46 |
./configure --enable-threads --prefix=/usr |
55 | 47 |
make install |
... | ... |
@@ -11,6 +11,8 @@ URL: https://github.com/Tojaj/librepo/ |
11 | 11 |
Group: System Environment/Libraries |
12 | 12 |
Source0: %{name}-%{version}.tar.gz |
13 | 13 |
%define sha1 librepo=e96b735393cd830caca49fe3bf7da767f22d8a8a |
14 |
+Source1: pygpgme-0.3.tar.gz |
|
15 |
+%define sha1 pygpgme=f8df35bd2705ac2e1642209fba732e6a42d03fd4 |
|
14 | 16 |
Vendor: VMware, Inc. |
15 | 17 |
Distribution: Photon |
16 | 18 |
Requires: curl, gpgme, libassuan, libgpg-error |
... | ... |
@@ -44,6 +46,7 @@ Package config and headers for librepo. |
44 | 44 |
|
45 | 45 |
%prep |
46 | 46 |
%setup -q -n %{librepo_name}-%{version} |
47 |
+tar xf %{SOURCE1} |
|
47 | 48 |
|
48 | 49 |
%build |
49 | 50 |
mkdir build |
... | ... |
@@ -61,8 +64,6 @@ cp %{_builddir}/%{librepo_name}-%{version}/librepo/*.h %{buildroot}%{_includedir |
61 | 61 |
|
62 | 62 |
%check |
63 | 63 |
easy_install nose flask pyxattr |
64 |
-wget https://launchpad.net/pygpgme/trunk/0.3/+download/pygpgme-0.3.tar.gz |
|
65 |
-tar xvf pygpgme-0.3.tar.gz |
|
66 | 64 |
pushd pygpgme-0.3 |
67 | 65 |
python setup.py install |
68 | 66 |
popd |
... | ... |
@@ -6,6 +6,8 @@ License: LGPLv2+ |
6 | 6 |
Group: System Environment/Libraries |
7 | 7 |
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160107/%{name}-%{version}-rc1.tar.gz |
8 | 8 |
%define sha1 libsepol=0bf77d9849f715b29a8ac901461df0cc46da750b |
9 |
+Source1: https://sourceforge.net/projects/cunit/files/CUnit-2.1-2-src.tar.bz2 |
|
10 |
+%define sha1 CUnit=6c2d0627eb64c09c7140726d6bf814cf531a3ce0 |
|
9 | 11 |
URL: http://www.selinuxproject.org |
10 | 12 |
Vendor: VMware, Inc. |
11 | 13 |
Distribution: Photon |
... | ... |
@@ -40,6 +42,7 @@ needed for developing applications that manipulate binary policies. |
40 | 40 |
%prep |
41 | 41 |
%setup -qn %{name}-%{version}-rc1 |
42 | 42 |
sed -i 's/int rc;/int rc = SEPOL_OK;/' ./cil/src/cil_binary.c |
43 |
+tar xf %{SOURCE1} |
|
43 | 44 |
|
44 | 45 |
%build |
45 | 46 |
make clean |
... | ... |
@@ -59,8 +62,6 @@ rm -f %{buildroot}%{_bindir}/chkcon |
59 | 59 |
rm -rf %{buildroot}%{_mandir}/man8 |
60 | 60 |
|
61 | 61 |
%check |
62 |
-wget https://sourceforge.net/projects/cunit/files/CUnit-2.1-2-src.tar.bz2 --no-check-certificate |
|
63 |
-tar xjf CUnit-2.1-2-src.tar.bz2 |
|
64 | 62 |
pushd CUnit-2.1-2/ |
65 | 63 |
./configure --prefix=/usr |
66 | 64 |
make |