bolt 0.5 release

Remove forge macros again and use gitlab as authorative source
Testing depedencies are now only pulled in on Fedora
This commit is contained in:
Christian Kellner 2018-09-21 14:12:21 +02:00
parent f69616965c
commit 9eb1c052f1
3 changed files with 21 additions and 16 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/bolt-0.2.tar.gz
/bolt-0.3.tar.gz
/bolt-0.4.tar.gz
/bolt-0.5.tar.gz

View File

@ -1,15 +1,12 @@
%global forgeurl https://github.com/gicmo/bolt
Name: bolt
Version: 0.4
%global tag %{version}
%forgemeta
Release: 2%{?dist}
Version: 0.5
Release: 1%{?dist}
Summary: Thunderbolt device manager
License: LGPLv2+
URL: %{forgeurl}
Source0: %{forgesource}
URL: https://gitlab.freedesktop.org/bolt/bolt
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: asciidoc
BuildRequires: meson
BuildRequires: libudev-devel
@ -17,12 +14,16 @@ BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(systemd)
BuildRequires: polkit-devel
BuildRequires: systemd
%{?systemd_requires}
# for the integration test (optional)
%if 0%{?fedora}
BuildRequires: pygobject3-devel
BuildRequires: python3-dbus
BuildRequires: python3-dbusmock
BuildRequires: umockdev-devel
BuildRequires: systemd
%{?systemd_requires}
%endif
%description
bolt is a system daemon to manage thunderbolt 3 devices via a D-BUS
@ -37,10 +38,10 @@ boltctl, can be used to control the daemon and perform all the above
mentioned tasks.
%prep
%forgesetup
%setup -q
%build
%meson -Ddb-path=%{_localstatedir}/lib/boltd
%meson -Ddb-name=boltd
%meson_build
%check
@ -48,8 +49,6 @@ mentioned tasks.
%install
%meson_install
install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd
%post
%systemd_post %{name}.service
@ -74,9 +73,14 @@ install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd
%{_datadir}/dbus-1/system-services/org.freedesktop.bolt.service
%{_mandir}/man1/boltctl.1*
%{_mandir}/man8/boltd.8*
%dir %{_localstatedir}/lib/boltd
%ghost %dir %{_localstatedir}/lib/boltd
%changelog
* Fri Sep 21 2018 Christian Kellner <ckellner@redhat.com> - 0.5-1
- bolt 0.5 release
- Remove forge macros again and use gitlab as authorative source
- Testing depedencies are now only pulled in on Fedora
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (bolt-0.4.tar.gz) = 3ea6b748768b5d9df60425274ecdb4ccd5ce6599e01f0648a24704643fbbadd7a114d4a1946ee3b7bd8866935758cbfe4494734c26c12ccc508c205a036d5317
SHA512 (bolt-0.5.tar.gz) = d36f2e39ac53b131fb9607055231a5a205c368547c0db2c3a7537b6e60b156c8b0663d1e5b09c825e1e1a63fbe21087746d0bafde1bd474eb90f1d0cff991246