Change-Id: I017be8f5a6f9c365ef59ef3f3a441a3c5440dbde
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2502
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: Libsolv-0.6.19 |
| 2 | 2 |
Name: libsolv |
| 3 | 3 |
Version: 0.6.26 |
| 4 |
-Release: 2%{?dist}
|
|
| 4 |
+Release: 3%{?dist}
|
|
| 5 | 5 |
License: BSD |
| 6 | 6 |
URL: https://github.com/openSUSE/libsolv |
| 7 | 7 |
Source0: https://github.com/openSUSE/libsolv/archive/%{name}-%{version}.tar.gz
|
| ... | ... |
@@ -32,7 +32,9 @@ for developing applications that use libsolv. |
| 32 | 32 |
%build |
| 33 | 33 |
cmake \ |
| 34 | 34 |
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
| 35 |
- -DRPM5=ON |
|
| 35 |
+ -DRPM5=ON \ |
|
| 36 |
+ -DENABLE_RPMDB=ON \ |
|
| 37 |
+ -DENABLE_COMPLEX_DEPS=ON |
|
| 36 | 38 |
make %{?_smp_mflags}
|
| 37 | 39 |
%install |
| 38 | 40 |
make DESTDIR=%{buildroot} install
|
| ... | ... |
@@ -59,6 +61,8 @@ make %{?_smp_mflags} test
|
| 59 | 59 |
%{_mandir}/man3/*
|
| 60 | 60 |
|
| 61 | 61 |
%changelog |
| 62 |
+* Fri Apr 21 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.6.26-3 |
|
| 63 |
+- update libdb make config |
|
| 62 | 64 |
* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 0.6.26-2 |
| 63 | 65 |
- Requires expat-libs and expat-devel. |
| 64 | 66 |
* Tue Apr 04 2017 Kumar Kaushik <kaushikk@vmware.com> 0.6.26-1 |
| ... | ... |
@@ -1,9 +1,9 @@ |
| 1 | 1 |
Summary: Git for operating system binaries |
| 2 | 2 |
Name: ostree |
| 3 |
-Version: 2015.7 |
|
| 4 |
-Release: 10%{?dist}
|
|
| 3 |
+Version: 2017.4 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 | 5 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/%{name}-%{version}.tar.gz
|
| 6 |
-%define sha1 ostree=baa502aa46363cd4828d257fb87f5e18a7ed000a |
|
| 6 |
+%define sha1 ostree=eb3546c552849ace2f4e3701bc0b826611f569cc |
|
| 7 | 7 |
Source1: 91-ostree.preset |
| 8 | 8 |
License: LGPLv2+ |
| 9 | 9 |
URL: http://live.gnome.org/OSTree |
| ... | ... |
@@ -17,6 +17,7 @@ BuildRequires: gtk-doc |
| 17 | 17 |
BuildRequires: e2fsprogs-devel |
| 18 | 18 |
BuildRequires: libsoup-devel |
| 19 | 19 |
BuildRequires: autogen |
| 20 |
+Requires: fuse |
|
| 20 | 21 |
Requires: libgsystem |
| 21 | 22 |
Requires: gpgme |
| 22 | 23 |
Requires: libassuan |
| ... | ... |
@@ -28,6 +29,7 @@ Requires: dracut |
| 28 | 28 |
Requires: dracut-tools |
| 29 | 29 |
Requires: libarchive |
| 30 | 30 |
BuildRequires: attr-devel |
| 31 |
+BuildRequires: fuse-devel |
|
| 31 | 32 |
BuildRequires: libgpg-error-devel |
| 32 | 33 |
BuildRequires: python2-libs |
| 33 | 34 |
BuildRequires: python2 |
| ... | ... |
@@ -63,7 +65,7 @@ The %{name}-devel package includes the header files for the %{name} library
|
| 63 | 63 |
|
| 64 | 64 |
%prep |
| 65 | 65 |
%setup -n %{name}-%{version}
|
| 66 |
-(git clone git://git.gnome.org/libglnx libglnx && cd libglnx && git checkout 900b25f) |
|
| 66 |
+(git clone git://git.gnome.org/libglnx libglnx && cd libglnx && git checkout 602fdd9) |
|
| 67 | 67 |
(git clone https://github.com/mendsley/bsdiff bsdiff && cd bsdiff && git checkout 1edf9f6) |
| 68 | 68 |
|
| 69 | 69 |
%build |
| ... | ... |
@@ -104,8 +106,8 @@ rm -rf %{buildroot}
|
| 104 | 104 |
%files |
| 105 | 105 |
%doc COPYING README.md |
| 106 | 106 |
%{_bindir}/ostree
|
| 107 |
+%{_bindir}/rofiles-fuse
|
|
| 107 | 108 |
%{_libdir}/*.so.1*
|
| 108 |
-%{_sbindir}/*
|
|
| 109 | 109 |
%{_mandir}/man*/*.gz
|
| 110 | 110 |
%{_prefix}/lib/systemd/system-preset/91-ostree.preset
|
| 111 | 111 |
%{_prefix}/lib/systemd/system/ostree*.service
|
| ... | ... |
@@ -116,19 +118,25 @@ rm -rf %{buildroot}
|
| 116 | 116 |
%{_sysconfdir}/ostree-mkinitcpio.conf
|
| 117 | 117 |
%dir %{_sysconfdir}/ostree/remotes.d
|
| 118 | 118 |
%{_libdir}/girepository-*/OSTree-*.typelib
|
| 119 |
-%{_libexecdir}/ostree/grub2*
|
|
| 119 |
+%{_libexecdir}/libostree/grub2*
|
|
| 120 | 120 |
%{_libdir}/initcpio/*
|
| 121 |
-%{_libdir}/lib*.so
|
|
| 122 |
-%dir %{_datadir}/gtk-doc/html/ostree
|
|
| 121 |
+%{_libdir}/ostree/ostree-prepare-root
|
|
| 122 |
+%{_libdir}/ostree/ostree-remount
|
|
| 123 |
+%exclude %{_libexecdir}/libostree/ostree-trivial-httpd
|
|
| 124 |
+ |
|
| 123 | 125 |
|
| 124 | 126 |
%files devel |
| 125 | 127 |
%{_includedir}/*
|
| 128 |
+%{_libdir}/lib*.so
|
|
| 126 | 129 |
%{_libdir}/pkgconfig/*
|
| 130 |
+%dir %{_datadir}/gtk-doc/html/ostree
|
|
| 127 | 131 |
%{_datadir}/gtk-doc/html/ostree/*
|
| 128 | 132 |
%{_datadir}/ostree/*
|
| 129 | 133 |
%{_datadir}/gir-1.0/OSTree-1.0.gir
|
| 130 | 134 |
|
| 131 | 135 |
%changelog |
| 136 |
+* Mon Apr 17 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2017.4-1 |
|
| 137 |
+- Update to 2017.4 |
|
| 132 | 138 |
* Wed Feb 01 2017 Xiaolin Li <xiaolinl@vmware.com> 2015.7-10 |
| 133 | 139 |
- libglnx: checkout commit 900b25f. |
| 134 | 140 |
- bsdiff: checkout commit 1edf9f6. |
| 135 | 141 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,16 @@ |
| 0 |
+--- libdnf/CMakeLists.txt 2017-04-18 04:13:32.064049371 +0000 |
|
| 1 |
+@@ -26,10 +26,11 @@ |
|
| 2 |
+ |
|
| 3 |
+ # hawkey dependencies |
|
| 4 |
+ find_package (PkgConfig REQUIRED) |
|
| 5 |
++SET (CMAKE_MODULE_PATH /usr/share/cmake/Modules) |
|
| 6 |
++find_package (LibSolv 0.6.26 REQUIRED COMPONENTS ext) |
|
| 7 |
+ SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
|
|
| 8 |
+ PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.44.0 REQUIRED) |
|
| 9 |
+ FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb) |
|
| 10 |
+-find_package (LibSolv 0.6.21 REQUIRED COMPONENTS ext) |
|
| 11 |
+ if (ENABLE_RHSM_SUPPORT) |
|
| 12 |
+ pkg_check_modules (RHSM REQUIRED librhsm) |
|
| 13 |
+ include_directories (${RHSM_INCLUDE_DIRS})
|
|
| 14 |
+ |
| ... | ... |
@@ -1,18 +1,23 @@ |
| 1 | 1 |
Summary: Commit RPMs to an OSTree repository |
| 2 | 2 |
Name: rpm-ostree |
| 3 |
-Version: 2015.7 |
|
| 4 |
-Release: 5%{?dist}
|
|
| 3 |
+Version: 2017.4 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 | 5 |
Source0: rpm-ostree-%{version}.tar.gz
|
| 6 |
-%define sha1 rpm-ostree=9a0fa260d8671d9998b5f5509de1bbadd42f7127 |
|
| 7 |
-Source1: libglnx-58a9a5c.tar.gz |
|
| 8 |
-%define sha1 libglnx=ba892544e28201508450dd123a4ebd4dfe6d5ea7 |
|
| 6 |
+%define sha1 rpm-ostree=d34882a455afbf0b57617c0962725276967e838a |
|
| 7 |
+Source1: libglnx-0c52d85.tar.gz |
|
| 8 |
+%define sha1 libglnx=137767ad957f37d6210aaa6b28e4333a42aa9fad |
|
| 9 |
+Source2: libdnf-2086268.tar.gz |
|
| 10 |
+%define sha1 libdnf=4e913da416c61a5525f94ef09f38c658179e3e25 |
|
| 11 |
+Patch0: rpm-ostree-libdnf-build.patch |
|
| 9 | 12 |
License: LGPLv2+ |
| 10 |
-URL: https://github.com/cgwalters/rpm-ostree |
|
| 13 |
+URL: https://github.com/projectatomic/rpm-ostree |
|
| 11 | 14 |
Vendor: VMware, Inc. |
| 12 | 15 |
Distribution: Photon |
| 13 | 16 |
# We always run autogen.sh |
| 14 | 17 |
BuildRequires: autoconf |
| 15 | 18 |
BuildRequires: automake |
| 19 |
+BuildRequires: check |
|
| 20 |
+BuildRequires: cmake |
|
| 16 | 21 |
BuildRequires: libtool |
| 17 | 22 |
BuildRequires: git |
| 18 | 23 |
BuildRequires: json-glib-devel |
| ... | ... |
@@ -24,8 +29,6 @@ BuildRequires: docbook-xsl |
| 24 | 24 |
BuildRequires: libxslt |
| 25 | 25 |
BuildRequires: gobject-introspection-devel |
| 26 | 26 |
BuildRequires: openssl-devel |
| 27 |
-BuildRequires: libhif-devel >= 0.2.0 |
|
| 28 |
-BuildRequires: hawkey-devel >= 0.4.6 |
|
| 29 | 27 |
BuildRequires: rpm-devel >= 4.11.0 |
| 30 | 28 |
BuildRequires: librepo-devel >= 1.7.11 |
| 31 | 29 |
BuildRequires: attr-devel |
| ... | ... |
@@ -33,18 +36,19 @@ BuildRequires: python2-libs |
| 33 | 33 |
BuildRequires: python2 |
| 34 | 34 |
BuildRequires: gobject-introspection-python |
| 35 | 35 |
BuildRequires: autogen |
| 36 |
-BuildRequires: libsolv-devel |
|
| 37 |
- |
|
| 36 |
+BuildRequires: libsolv-devel >= 0.6.26-3 |
|
| 37 |
+BuildRequires: systemd-devel |
|
| 38 |
+BuildRequires: libarchive-devel |
|
| 39 |
+BuildRequires: gperf |
|
| 38 | 40 |
BuildRequires: which |
| 39 | 41 |
BuildRequires: popt-devel |
| 42 |
+ |
|
| 40 | 43 |
Requires: libcap |
| 41 | 44 |
Requires: librepo |
| 42 |
-Requires: hawkey |
|
| 43 |
-Requires: libhif |
|
| 44 | 45 |
Requires: openssl |
| 45 | 46 |
Requires: ostree |
| 46 | 47 |
Requires: json-glib |
| 47 |
- |
|
| 48 |
+Requires: libsolv >= 0.6.26-3 |
|
| 48 | 49 |
|
| 49 | 50 |
%description |
| 50 | 51 |
This tool takes a set of packages, and commits them to an OSTree |
| ... | ... |
@@ -60,11 +64,14 @@ Includes the header files for the rpm-ostree library. |
| 60 | 60 |
|
| 61 | 61 |
%prep |
| 62 | 62 |
%setup -q |
| 63 |
-tar xf /usr/src/photon/SOURCES/libglnx-58a9a5c.tar.gz --no-same-owner |
|
| 63 |
+tar xf /usr/src/photon/SOURCES/libglnx-0c52d85.tar.gz --no-same-owner |
|
| 64 |
+tar xf /usr/src/photon/SOURCES/libdnf-2086268.tar.gz --no-same-owner |
|
| 65 |
+%patch0 -p0 |
|
| 64 | 66 |
|
| 65 | 67 |
%build |
| 68 |
+sed -i '/-DBUILD_SHARED_LIBS/a -DWITH_MAN=OFF \\' configure.ac |
|
| 66 | 69 |
env NOCONFIGURE=1 ./autogen.sh |
| 67 |
-%configure --disable-silent-rules --enable-usrbinatomic |
|
| 70 |
+%configure --disable-silent-rules --enable-gtk-doc |
|
| 68 | 71 |
make %{?_smp_mflags}
|
| 69 | 72 |
|
| 70 | 73 |
%install |
| ... | ... |
@@ -75,22 +82,26 @@ find %{buildroot} -name '*.la' -delete
|
| 75 | 75 |
make %{?_smp_mflags} check
|
| 76 | 76 |
|
| 77 | 77 |
%files |
| 78 |
-%{_bindir}/rpm-ostree
|
|
| 79 |
-%{_bindir}/atomic
|
|
| 78 |
+%{_bindir}/*
|
|
| 80 | 79 |
%{_libdir}/%{name}/
|
| 81 | 80 |
%{_mandir}/man*/*.gz
|
| 82 | 81 |
%{_libdir}/*.so.1*
|
| 83 | 82 |
%{_libdir}/girepository-1.0/*.typelib
|
| 84 |
- |
|
| 85 |
- |
|
| 83 |
+%{_sysconfdir}/dbus-1/system.d/*
|
|
| 84 |
+%{_prefix}%{_unitdir}/*.service
|
|
| 85 |
+%{_libexecdir}/*
|
|
| 86 |
+%{_datadir}/dbus-1/system-services/*
|
|
| 86 | 87 |
|
| 87 | 88 |
%files devel |
| 88 | 89 |
%{_libdir}/lib*.so
|
| 89 | 90 |
%{_includedir}/*
|
| 90 | 91 |
%{_libdir}/pkgconfig/*
|
| 92 |
+%{_datadir}/gtk-doc/html/*
|
|
| 91 | 93 |
%{_datadir}/gir-1.0/*-1.0.gir
|
| 92 | 94 |
|
| 93 | 95 |
%changelog |
| 96 |
+* Fri Apr 21 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2017.4-1 |
|
| 97 |
+- Update to 2017.4 |
|
| 94 | 98 |
* Mon Dec 19 2016 Xiaolin Li <xiaolinl@vmware.com> 2015.7-5 |
| 95 | 99 |
- BuildRequires libsolv-devel. |
| 96 | 100 |
* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 2015.7-4 |