rpm-ostree/rpm-ostree.spec

356 lines
11 KiB
RPMSpec
Raw Normal View History

Summary: Client side upgrade program and server side compose tool
2014-03-11 12:50:13 +00:00
Name: rpm-ostree
2017-02-15 02:58:18 +00:00
Version: 2017.2
Release: 2%{?dist}
2014-03-11 12:50:13 +00:00
#VCS: https://github.com/cgwalters/rpm-ostree
# This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot"
Source0: rpm-ostree-%{version}.tar.xz
License: LGPLv2+
2016-02-10 19:03:18 +00:00
URL: https://github.com/projectatomic/rpm-ostree
2014-03-11 12:50:13 +00:00
# We always run autogen.sh
2015-02-06 13:32:11 +00:00
BuildRequires: autoconf automake libtool git
2014-03-11 12:50:13 +00:00
# For docs
BuildRequires: chrpath
2014-03-11 12:50:13 +00:00
BuildRequires: gtk-doc
2016-06-24 17:22:13 +00:00
BuildRequires: gperf
2014-03-11 12:50:13 +00:00
BuildRequires: gnome-common
BuildRequires: gobject-introspection
# Core requirements
2015-01-08 18:41:21 +00:00
BuildRequires: pkgconfig(ostree-1) >= 2015.1
2014-03-11 12:50:13 +00:00
BuildRequires: pkgconfig(libgsystem)
BuildRequires: pkgconfig(json-glib-1.0)
2014-03-31 23:44:11 +00:00
BuildRequires: pkgconfig(rpm)
2016-01-12 15:56:24 +00:00
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libsystemd)
2014-11-14 23:07:11 +00:00
BuildRequires: libcap-devel
2015-03-11 00:45:03 +00:00
BuildRequires: libattr-devel
# We currently interact directly with librepo
BuildRequires: pkgconfig(librepo)
# libhif bundling
# We're using RPATH to pick up our bundled version
%global __requires_exclude ^libhif[.]so[.].*$
BuildRequires: cmake
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(check)
BuildRequires: python-devel
BuildRequires: python-sphinx
2016-05-20 13:13:01 +00:00
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
BuildRequires: libsolv-devel
%else
BuildRequires: pkgconfig(libsolv)
2016-05-20 13:13:01 +00:00
%endif
2014-03-11 12:50:13 +00:00
# In CentOS7/RHEL the package is client-only right now, but we can do both
%if 0%{?rhel} != 0 && 0%{?rhel} <= 7
Provides: rpm-ostree-client
%endif
2016-07-11 20:18:36 +00:00
Requires: bubblewrap
2016-09-01 10:45:52 +00:00
Requires: fuse
2016-07-11 20:18:36 +00:00
2014-03-11 12:50:13 +00:00
%description
This tool binds together the world of RPM packages with the OSTree
model of bootable filesystem trees. It provides commands usable both
on client systems as well as server-side composes.
2014-03-11 12:50:13 +00:00
%package devel
Summary: Development headers for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package includes the header files for the %{name} library.
2014-03-11 12:50:13 +00:00
%prep
2015-02-05 14:33:51 +00:00
%autosetup -Sgit -n %{name}-%{version}
2014-03-11 12:50:13 +00:00
%build
env NOCONFIGURE=1 ./autogen.sh
%configure --disable-silent-rules --enable-gtk-doc
2014-03-11 12:50:13 +00:00
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
find $RPM_BUILD_ROOT -name '*.la' -delete
2014-03-11 12:50:13 +00:00
# I try to do continuous delivery via rpmdistro-gitoverlay while
# reusing the existing spec files. Currently RPM only supports
# mandatory file entries. What this is doing is making each file
# entry optional - if it exists it will be picked up. That
# way the same spec file works more easily across multiple versions where e.g. an
# older version might not have a systemd unit file.
cat > autofiles.py <<EOF
#!/usr/bin/python
import os,sys,glob
os.chdir(os.environ['RPM_BUILD_ROOT'])
for line in sys.argv[1:]:
if line == '':
break
2015-11-21 15:11:47 +00:00
if line[0] != '/':
sys.stdout.write(line + '\n')
else:
2015-11-21 15:11:47 +00:00
files = glob.glob(line[1:])
if len(files) > 0:
sys.stderr.write('{0} matched {1} files\n'.format(line, len(files)))
sys.stdout.write(line + '\n')
else:
sys.stderr.write('{0} did not match any files\n'.format(line))
EOF
python autofiles.py > files \
'%{_bindir}/*' \
'%{_libdir}/%{name}' \
'%{_libdir}/*.so.*' \
'%{_mandir}/man*/*' \
'%{_libdir}/girepository-1.0/*.typelib' \
'%{_sysconfdir}/dbus-1/system.d/*' \
'%{_prefix}/lib/systemd/system/*' \
'%{_libexecdir}/rpm-ostree*' \
'%{_datadir}/dbus-1/system-services'
python autofiles.py > files.devel \
'%{_libdir}/lib*.so' \
'%{_includedir}/*' \
'%{_libdir}/pkgconfig/*' \
'%{_datadir}/gtk-doc/html/*' \
'%{_datadir}/gir-1.0/*-1.0.gir'
%files -f files
2014-03-11 12:50:13 +00:00
%doc COPYING README.md
%files devel -f files.devel
2014-03-11 12:50:13 +00:00
%changelog
2017-02-15 02:58:18 +00:00
* Wed Feb 15 2017 Colin Walters <walters@verbum.org> - 2017.2-2
- New upstream version
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Jan 27 2017 Colin Walters <walters@verbum.org> - 2017.1-3
- Back out netns usage for now for https://pagure.io/releng/issue/6602
2017-01-22 19:35:29 +00:00
* Sun Jan 22 2017 Colin Walters <walters@verbum.org> - 2017.1-2
2017-01-22 19:33:14 +00:00
- New upstream version
2016-12-12 18:19:30 +00:00
* Mon Dec 12 2016 walters@redhat.com - 2016.13-1
- New upstream version
2016-11-26 19:23:12 +00:00
* Sat Nov 26 2016 walters@redhat.com - 2016.12-4
- Backport patch to fix install-langs
2016-11-15 19:40:16 +00:00
* Tue Nov 15 2016 walters@redhat.com - 2016.11-2
- New upstream version
2016-10-24 13:39:57 +00:00
* Mon Oct 24 2016 walters@verbum.org - 2016.11-1
- New upstream version
2016-10-07 21:04:26 +00:00
* Fri Oct 07 2016 walters@redhat.com - 2016.10-1
- New upstream version
2016-09-09 00:42:46 +00:00
* Thu Sep 08 2016 walters@redhat.com - 2016.9-1
- New upstream version
2016-09-08 01:29:45 +00:00
* Thu Sep 08 2016 walters@redhat.com - 2016.8-1
- New upstream version
2016-09-01 10:45:52 +00:00
* Thu Sep 01 2016 walters@redhat.com - 2016.7-4
- Add requires on fuse https://github.com/projectatomic/rpm-ostree/issues/443
2016-08-31 20:48:33 +00:00
* Wed Aug 31 2016 Colin Walters <walters@verbum.org> - 2016.7-3
- Backport patch for running inside mock
2016-08-13 14:54:13 +00:00
* Sat Aug 13 2016 walters@redhat.com - 2016.6-3
- New upstream version
* Sat Aug 13 2016 Colin Walters <walters@verbum.org> - 2016.6-2
- Backport patches from master to fix non-containerized composes
2016-08-11 20:36:14 +00:00
* Thu Aug 11 2016 walters@redhat.com - 2016.6-1
- New upstream version
2016-07-25 18:28:31 +00:00
* Mon Jul 25 2016 Colin Walters <walters@verbum.org> - 2016.5-1
- New upstream version
2016-07-11 20:19:23 +00:00
* Fri Jul 08 2016 walters@verbum.org - 2016.4-2
- Require bubblewrap
2016-07-08 20:27:13 +00:00
* Fri Jul 08 2016 walters@redhat.com - 2016.4-1
- New upstream version
* Thu Jul 07 2016 Colin Walters <walters@verbum.org> - 2016.3.5.g4219a96-1
- Backport fixes from https://github.com/projectatomic/rpm-ostree/commits/2016.3-fixes
* Wed Jun 15 2016 Colin Walters <walters@verbum.org> - 2016.3.3.g17fb980-2
- Backport fixes from https://github.com/projectatomic/rpm-ostree/commits/2016.3-fixes
2016-05-20 13:13:01 +00:00
* Fri May 20 2016 Colin Walters <walters@redhat.com> - 2016.3-2
- New upstream version
* Thu Mar 31 2016 Colin Walters <walters@redhat.com> - 2016.1-3
- Backport patch to fix Fedora composes writing data into source file:/// URIs
2016-03-28 16:10:24 +00:00
* Thu Mar 24 2016 Colin Walters <walters@redhat.com> - 2016.1-2
- New upstream version
* Tue Feb 23 2016 Colin Walters <walters@redhat.com> - 2015.11.43.ga2c052b-2
- New git snapshot, just getting some new code out there
- We are now bundling a copy of libhif, as otherwise coordinated releases with
PackageKit/dnf would be required, and we are not ready for that yet.
2016-02-10 19:03:18 +00:00
* Wed Feb 10 2016 Matthew Barnes <mbarnes@redhat.com> - 2015.11-3
- Fix URL: https://github.com/projectatomic/rpm-ostree
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2015.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-12-15 15:05:25 +00:00
* Tue Dec 15 2015 Colin Walters <walters@redhat.com> - 2015.11-1
- New upstream version
2015-11-21 15:11:47 +00:00
* Sat Nov 21 2015 Colin Walters <walters@redhat.com> - 2015.10-1
- New upstream version
* Mon Nov 09 2015 Colin Walters <walters@redhat.com> - 2015.9-4
- Fix files list for -devel, which should in turn fix Anaconda
builds which pull in rpm-ostree, but should not have devel bits.
* Sat Oct 31 2015 Colin Walters <walters@redhat.com> - 2015.9-3
- Add patch that should fix bodhis use of --workdir-tmpfs
2015-09-05 12:11:30 +00:00
* Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 2015.9-2
- Rebuilt for librpm soname bump
2015-08-26 16:26:09 +00:00
* Wed Aug 26 2015 Colin Walters <walters@redhat.com> - 2015.9-2
- New upstream version
2015-08-04 14:44:18 +00:00
* Tue Aug 04 2015 Colin Walters <walters@redhat.com> - 2015.8-1
- New upstream version
2015-07-27 14:12:22 +00:00
* Mon Jul 27 2015 Colin Walters <walters@redhat.com> - 2015.7-5
- rebuilt
2015-07-20 19:13:32 +00:00
* Mon Jul 20 2015 Colin Walters <walters@redhat.com> - 2015.7-4
- Rebuild for CentOS update to libhif
* Tue Jun 16 2015 Colin Walters <walters@redhat.com> - 2015.7-3
- Rebuild to pick up hif_source_set_required()
2015-06-15 18:18:53 +00:00
* Mon Jun 15 2015 Colin Walters <walters@redhat.com> - 2015.7-2
- New upstream version
2015-06-09 14:17:32 +00:00
* Tue Jun 09 2015 Colin Walters <walters@redhat.com> - 2015.6-2
- New upstream version
2015-05-12 17:53:00 +00:00
* Tue May 12 2015 Colin Walters <walters@redhat.com> - 2015.5-3
- Add patch to fix rawhide composes
2015-05-11 20:09:38 +00:00
* Mon May 11 2015 Colin Walters <walters@redhat.com> - 2015.5-2
- New upstream release
Adds shared library and -devel subpackage
2015-05-11 20:09:38 +00:00
* Fri Apr 10 2015 Colin Walters <walters@redhat.com> - 2015.4-2
- New upstream release
Port to libhif, drops dependency on yum.
* Thu Apr 09 2015 Colin Walters <walters@redhat.com> - 2015.3-8
- Cherry pick f21 patch to disable read only /etc with yum which
breaks when run inside docker
* Wed Apr 08 2015 Colin Walters <walters@redhat.com> - 2015.3-7
- Add patch to use yum-deprecated
Resolves: #1209695
* Fri Feb 27 2015 Colin Walters <walters@redhat.com> - 2015.3-5
- Drop /usr/bin/atomic, now provided by the "atomic" package
2015-02-06 13:32:11 +00:00
* Fri Feb 06 2015 Dennis Gilmore <dennis@ausil.us> - 2015.3-4
- add git to BuildRequires
2015-02-05 14:33:51 +00:00
* Thu Feb 05 2015 Colin Walters <walters@redhat.com> - 2015.3-3
- Adapt to Hawkey 0.5.3 API break
2015-02-05 12:52:22 +00:00
* Thu Feb 05 2015 Dennis Gilmore <dennis@ausil.us> - 2015.3-3
- rebuild for libhawkey soname bump
2015-01-23 22:19:23 +00:00
* Fri Jan 23 2015 Colin Walters <walters@redhat.com> - 2015.3-2
- New upstream release
2015-01-08 18:41:21 +00:00
* Thu Jan 08 2015 Colin Walters <walters@redhat.com> - 2015.2-1
- New upstream release
2014-12-17 17:36:58 +00:00
* Wed Dec 17 2014 Colin Walters <walters@redhat.com> - 2014.114-2
- New upstream release
2014-11-25 18:40:44 +00:00
* Tue Nov 25 2014 Colin Walters <walters@redhat.com> - 2014.113-1
- New upstream release
2014-11-24 03:19:05 +00:00
* Mon Nov 24 2014 Colin Walters <walters@redhat.com> - 2014.112-1
- New upstream release
2014-11-17 21:24:50 +00:00
* Mon Nov 17 2014 Colin Walters <walters@redhat.com> - 2014.111-1
- New upstream release
2014-11-14 22:52:51 +00:00
* Fri Nov 14 2014 Colin Walters <walters@redhat.com> - 2014.110-1
- New upstream release
* Fri Oct 24 2014 Colin Walters <walters@redhat.com> - 2014.109-1
- New upstream release
2014-10-04 00:21:45 +00:00
* Sat Oct 04 2014 Colin Walters <walters@redhat.com> - 2014.107-2
- New upstream release
2014-09-08 21:50:54 +00:00
* Mon Sep 08 2014 Colin Walters <walters@redhat.com> - 2014.106-3
2014-09-08 20:50:54 +00:00
- New upstream release
2014-09-08 21:26:43 +00:00
- Bump requirement on ostree
2014-09-08 20:50:54 +00:00
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.105-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-08-08 02:12:14 +00:00
* Fri Aug 08 2014 Colin Walters <walters@verbum.org> - 2014.105-2
- New upstream release
2014-07-29 12:57:38 +00:00
2014-07-13 20:25:10 +00:00
* Sun Jul 13 2014 Colin Walters <walters@verbum.org>
- New upstream release
* Sat Jun 21 2014 Colin Walters <walters@verbum.org>
- New upstream release
- Bump OSTree requirements
- Enable hawkey package diff, we have new enough versions
of libsolv/hawkey
- Enable /usr/bin/atomic symbolic link
2014-06-10 18:40:16 +00:00
* Tue Jun 10 2014 Colin Walters <walters@verbum.org>
- New upstream git snapshot
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.101-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-31 01:06:09 +00:00
* Fri May 30 2014 Colin Walters <walters@verbum.org>
- New upstream release
* Fri May 23 2014 Colin Walters <walters@verbum.org>
- Previous autobuilder code is split off into rpm-ostree-toolbox
2014-04-13 19:16:53 +00:00
* Sun Apr 13 2014 Colin Walters <walters@verbum.org>
- New upstream release
* Tue Apr 08 2014 Colin Walters <walters@verbum.org>
- Drop requires on yum to allow minimal images without it
2014-03-31 23:22:53 +00:00
* Mon Mar 31 2014 Colin Walters <walters@verbum.org>
- New upstream release
2014-03-22 15:41:31 +00:00
* Sat Mar 22 2014 Colin Walters <walters@verbum.org> - 2014.6.3.g5707fa7-2
- Bump ostree version requirement
* Sat Mar 22 2014 Colin Walters <walters@verbum.org> - 2014.6.3.g5707fa7-1
- New git snapshot, add rpm-ostree-sign to file list
2014-03-22 14:02:38 +00:00
* Sat Mar 22 2014 Colin Walters <walters@verbum.org> - 2014.6-1
- New upstream version
2014-03-11 12:50:13 +00:00
* Fri Mar 07 2014 Colin Walters <walters@verbum.org> - 2014.5-1
- Initial package