From 8b67854078bbe2d1348a094e6121ed6cc08a2efef7f30e8d37fa5e27ab14aa28 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 21 Sep 2017 10:48:41 +0000 Subject: [PATCH] Bring the defattr back to prevent rpmlint errors OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr?expand=0&rev=36 --- antlr.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/antlr.spec b/antlr.spec index fd59543..905fc72 100644 --- a/antlr.spec +++ b/antlr.spec @@ -155,6 +155,7 @@ find examples -type f | xargs chmod 0644 %fdupes -s examples %files +%defattr(0644,root,root,0755) %doc LICENSE.txt README.txt CHANGES.txt %dir %{_datadir}/%{name}-%{version} %defattr(0755,root,root,0755) @@ -162,18 +163,22 @@ find examples -type f | xargs chmod 0644 %{_bindir}/antlr-config %files java +%defattr(0644,root,root,0755) %dir %{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}/*jar %{_javadir}/%{name}*.jar %files manual +%defattr(0644,root,root,0755) %doc doc examples %files devel +%defattr(0644,root,root,0755) %attr(755,root,root) %{_libdir}/libantlr.a %{_includedir}/%{name} %files -n python-%{name} +%defattr(0644,root,root,0755) %dir %{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}/*py %{_datadir}/%{name}-%{version}/*pyc