- Switch to 0.4.1 release tarball, remove _service files

OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee-discord?expand=0&rev=4
This commit is contained in:
Mia Herkt 2018-01-09 06:11:21 +00:00 committed by Git OBS Bridge
parent 14e649a10e
commit 92ae2e2eb4
6 changed files with 11 additions and 37 deletions

View File

@ -1,17 +0,0 @@
<services>
<service name="tar_scm" mode="localonly">
<param name="filename">bitlbee-discord</param>
<param name="versionformat">0.4.1+@TAG_OFFSET@.g%h</param>
<!-- not a tag: 0.4.1 version bump commit -->
<param name="parent-tag">3e435b0c6b24d57766d52c12d0fab5f69068c1ef</param>
<param name="url">git://github.com/sm00th/bitlbee-discord.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="localonly">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="localonly"/>
</services>

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/sm00th/bitlbee-discord.git</param>
<param name="changesrevision">3e435b0c6b24d57766d52c12d0fab5f69068c1ef</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7cf494e76ce90e204c2af2bcbeaf9ea35055b41105ce6225c5d0fa0917df785
size 24804

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1872804091dcdb4effa3ae29ea82dee37cd65b2c9f0e313394372671eed98af
size 28577

View File

@ -1,11 +1,7 @@
-------------------------------------------------------------------
Sun Jan 07 05:23:23 UTC 2018 - 9@cirno.systems
Tue Jan 9 06:10:37 UTC 2018 - 9@cirno.systems
- Change version format of _service file: version+offset.gh
* Filed upstream issue to tag version bumps in the future so that
we can hopefully stop packaging random Git commits, or at least
use them for PARENT_TAG
- Update to version 0.4.1+0.g3e435b0:
- Switch to 0.4.1 release tarball, remove _service files
* Allow getting backlog of private messages
* Fix use-after-free on OPCODE_RECONNECT/INVALID_SESSION

View File

@ -1,7 +1,7 @@
#
# spec file for package bitlbee-discord
#
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,22 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define github_user sm00th
%define short_name discord
Name: bitlbee-%{short_name}
Version: 0.4.1+0.g3e435b0
Version: 0.4.1
Release: 0
Summary: Bitlbee plugin for Discord
License: GPL-2.0
Group: Productivity/Networking/IRC
Url: https://github.com/%{github_user}/%{name}
Source: https://github.com/%{github_user}/%{name}/%{name}-%{version}.tar.xz
URL: https://github.com/%{github_user}/%{name}
Source: https://github.com/%{github_user}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(bitlbee)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Bitlbee plugin for Discord.
@ -44,11 +44,10 @@ Bitlbee plugin for Discord.
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%make_install
rm %{buildroot}%{_libdir}/bitlbee/%{short_name}.la
%files
%defattr(-,root,root)
%doc LICENSE README
%dir %{_libdir}/bitlbee
%{_libdir}/bitlbee/%{short_name}.so