diff --git a/_service b/_service
new file mode 100644
index 0000000..c8347f7
--- /dev/null
+++ b/_service
@@ -0,0 +1,27 @@
+
+
+ https://github.com/latex-lsp/texlab
+ @PARENT_TAG@
+ git
+ 929a05483ce00ccdf8871d050abeefd2b9d9cd00
+ v(.*)
+ \1
+ enable
+ socvirnyl.estela@gmail.com
+
+
+
+ *.tar
+ xz
+
+
+
+ texlab
+ xz
+ false
+
+
+ texlab
+
+
+
diff --git a/cargo_config b/cargo_config
index 8f1e538..6fb4ff4 100644
--- a/cargo_config
+++ b/cargo_config
@@ -1,10 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
-[source."https://github.com/cormacrelf/citeproc-rs"]
-git = "https://github.com/cormacrelf/citeproc-rs"
-rev = "2ab195a1e6f84f0ff284813ece61dc62096abbfe"
-replace-with = "vendored-sources"
-
[source.vendored-sources]
directory = "vendor"
\ No newline at end of file
diff --git a/texlab-3.3.2.tar.xz b/texlab-3.3.2.tar.xz
deleted file mode 100644
index 04d8e86..0000000
--- a/texlab-3.3.2.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ffcd0f66d62bd0f76bc70e67b139c4f86b978a6b8f88ad96597724e7c3ec3e6e
-size 7497736
diff --git a/texlab-4.0.0.tar.xz b/texlab-4.0.0.tar.xz
new file mode 100644
index 0000000..2bd5c4e
--- /dev/null
+++ b/texlab-4.0.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:595bf3421243f46975f0e8d2c9778ab83ce259808c0a85d0cd1aa54e52ab8533
+size 7505504
diff --git a/texlab.changes b/texlab.changes
index 762082e..ee3a180 100644
--- a/texlab.changes
+++ b/texlab.changes
@@ -1,3 +1,18 @@
+-------------------------------------------------------------------
+Wed Jun 01 12:26:32 UTC 2022 - socvirnyl.estela@gmail.com
+
+- Update to version 4.0.0:
+ * Bump version to v4.0.0
+ * Add missing Cargo metadata
+ * Use custom citation rendering instead of citeproc-rs (#629)
+ * Remove reference to im crate
+ * Add command line flag to print version
+ * Fix deployment workflow
+ * Bump crossbeam-utils from 0.8.6 to 0.8.8
+ * Remove Clippy CI job
+ * Bump unindent from 0.1.8 to 0.1.9 (#626)
+ * Bump log from 0.4.16 to 0.4.17 (#624)
+
-------------------------------------------------------------------
Sat Mar 12 04:20:39 UTC 2022 - Soc Virnyl Estela
diff --git a/texlab.spec b/texlab.spec
index 5935f01..4f07e89 100644
--- a/texlab.spec
+++ b/texlab.spec
@@ -12,26 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: texlab
-Version: 3.3.2
+Version: 4.0.0
Release: 0
-Summary: Implementation of the Language Server Protocol for LaTeX
+Summary: Implementation of the Language Server Protocol for LaTeX
License: ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 OR Apache-2.0 OR MIT ) AND ( CC0-1.0 OR Artistic-2.0 ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-3-Clause AND GPL-3.0 AND GPL-3.0+ AND ISC AND MIT AND MPL-2.0 AND MPL-2.0+ AND GPL-3.0
Group: Productivity/Publishing/TeX/Utilities
-Url: https://github.com/latex-lsp/texlab
+URL: https://github.com/latex-lsp/texlab
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: cargo-packaging
-ExclusiveArch: %{rust_tier1_arches}
+ExclusiveArch: %{rust_arches}
%description
-Cross-platform implementation of the Language Server Protocol providing rich cross-editing support for the LaTeX typesetting system.
+Cross-platform implementation of the Language Server Protocol providing rich cross-editing support for the LaTeX typesetting system.
The server may be used with any editor that implements the Language Server Protocol.
%prep
@@ -40,15 +39,19 @@ mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
-RUSTFLAGS=%{rustflags} cargo build --release --offline --jobs 2
+%{cargo_build}
%install
-install -D -d -m 0755 %{buildroot}%{_bindir}
-install -m 0755 %{_builddir}/%{name}-%{version}/target/release/texlab %{buildroot}%{_bindir}/texlab
+%{cargo_install}
+install -Dm644 texlab.1 -t %{buildroot}%{_mandir}/man1/
+
+%check
+%{cargo_test}
%files
%{_bindir}/texlab
%license LICENSE
%doc docs README.md CHANGELOG.md
+%{_mandir}/man1/texlab.1%{?ext_man}
%changelog
diff --git a/vendor.tar.xz b/vendor.tar.xz
index c817331..786f9a9 100644
--- a/vendor.tar.xz
+++ b/vendor.tar.xz
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7001d7ce886b79e4d94ecfaaa65dda01e320f0647a7b2be618bfe8fa98cf9f1f
-size 18349216
+oid sha256:a4aa653912d953bd2289c85f70898d2cf5ce6462fc02a29f4392cc64f80ceba2
+size 22936184