From 64239f1bea5055d25cdf78cea1d4f5d2ff4833ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Thu, 10 May 2018 11:48:07 +0200 Subject: [PATCH] Fix various rpmlint errors and warnings --- elixir.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/elixir.spec b/elixir.spec index 5e63046..503f22e 100644 --- a/elixir.spec +++ b/elixir.spec @@ -50,6 +50,10 @@ find -name '*.bat' -exec rm \{\} \; # this deals with ANSI codes which rpmbuild strips. rm lib/elixir/test/elixir/io/ansi_test.exs +# Remove VCS-specific files +find . -name .gitignore -delete +find . -name .gitkeep -delete + # Let the Makefile speak! sed -i 's/$(Q)//g' Makefile @@ -76,6 +80,9 @@ ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex,mix} %{buildroot}/% mkdir -p %{buildroot}/%{_mandir}/man1 cp -a man/elixir.1 man/elixirc.1 man/iex.1 man/mix.1 %{buildroot}/%{_mandir}/man1 +# Remove (useless) hidden folder created by the build system +rm -r %{buildroot}/%{_datadir}/%{name}/%{version}/lib/%{name}/.rebar + %files %license LICENSE %{_bindir}/elixir @@ -100,6 +107,10 @@ HTML documentation for eex, elixir, iex, logger and mix. %doc docs/doc/eex docs/doc/elixir docs/doc/iex docs/doc/logger docs/doc/mix %changelog +* Wed Jun 20 2018 Timothée Floure - 1.6.5-2 +- Fix version-control-internal-file rpmlint errors +- Fix hidden-file-or-dir rpmlint warnings + * Thu Jun 07 2018 Timothée Floure - 1.6.5-2 - Switch from the rebar_* macros to upstream's makefile (without forgetting to properly set the environment) and fix the build section.