Compare commits

..

No commits in common. "rawhide" and "f36" have entirely different histories.

6 changed files with 83 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/vim-trailing-whitespace-1.0.20191209git6b7cdec.tar.gz

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# vim-trailing-whitespace
The vim-trailing-whitespace package

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (vim-trailing-whitespace-1.0.20191209git6b7cdec.tar.gz) = 348282f413541e8acd27ba1d9c8add798cf3ebfa9ed3d02dbdb85da474f1c0fa89f6813ad6949745176be780700411b920b3ba9af92ba6ae27fd6712e5017f96

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2019 Artem Polishchuk <ego.cordatus@gmail.com> -->
<component type="addon">
<id>vim-trailing-whitespace</id>
<extends>gvim.desktop</extends>
<name>vim-trailing-whitespace</name>
<summary>Highlights trailing whitespace in red and provides :FixWhitespace to fix it</summary>
<url type="homepage">https://github.com/bronson/vim-trailing-whitespace</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>CC-BY-SA-3.0</project_license>
<updatecontact>ego.cordatus@gmail.com</updatecontact>
</component>

View file

@ -0,0 +1,66 @@
%global commit 6b7cdecff252474fe560d32c6f05641f3c5952c7
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global date 20191209
Name: vim-trailing-whitespace
Version: 1.0
Release: 5.%{date}git%{shortcommit}%{?dist}
Summary: Highlights trailing whitespace in red and provides :FixWhitespace to fix it
License: CC-BY-SA
URL: https://github.com/bronson/vim-trailing-whitespace
Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz
Source1: %{name}.metainfo.xml
BuildArch: noarch
BuildRequires: libappstream-glib
BuildRequires: vim-filesystem
Requires: vim-enhanced
%description
This plugin causes all trailing whitespace to be highlighted in red.
To fix the whitespace errors, just call :FixWhitespace. By default it operates
on the entire file. Pass a range (or use V to select some lines) to restrict
the portion of the file that gets fixed.
%prep
%autosetup -n %{name}-%{commit} -p1
%install
mkdir -p %{buildroot}%{vimfiles_root}
cp -ar plugin %{buildroot}%{vimfiles_root}
install -m0644 -Dp %{SOURCE1} %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
%files
%doc README doc/*
%{vimfiles_root}/plugin/*
%{_metainfodir}/*.xml
%changelog
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-5.20191209git6b7cdec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-4.20191209git6b7cdec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3.20191209git6b7cdec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2.20191209git6b7cdec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 19 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0-1.20191209git6b7cdec
- Update to latest git snapshot
* Thu Oct 03 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0-1.20170923git4c59654
- Initial package