[packages/uncrustify] - updated to 0.68.1, BR: cmake

adamg adamg at pld-linux.org
Sun Nov 25 12:58:31 CET 2018


commit df62b0f6aec8b712517f63f09de536225a4014dc
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Sun Nov 25 12:55:38 2018 +0100

    - updated to 0.68.1, BR: cmake

 uncrustify.spec | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/uncrustify.spec b/uncrustify.spec
index e700f4c..aab8686 100644
--- a/uncrustify.spec
+++ b/uncrustify.spec
@@ -1,30 +1,33 @@
-Summary:	Reformat Source
+Summary:	Source code beautifier
 Name:		uncrustify
-Version:	0.60
+Version:	0.68.1
 Release:	1
 License:	GPL v2
 Group:		Development/Tools
 Source0:	http://downloads.sourceforge.net/uncrustify/%{name}-%{version}.tar.gz
-# Source0-md5:	0467a60b7c6f108259e69a90120afd4a
+# Source0-md5:	bc184fe715cf625bda6869ce2a2a2b54
 URL:		http://uncrustify.sourceforge.net/
+BuildRequires:	cmake
 BuildRequires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Source Code Beautifier for C, C++, C#, D, Java, and Pawn.
+Uncrustify is a configurable source code beautifier for C, C++, C#,
+ObjectiveC, D, Java, Pawn and VALA.
 
 %prep
-%setup -q
+%setup -qc
 
 %build
-%configure \
-	--disable-silent-rules
-
+install -d build
+cd build
+%cmake ..
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -32,8 +35,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING AUTHORS README NEWS
+%doc AUTHORS BUGS ChangeLog CODEOWNERS Comments.txt CONTRIBUTING.md COPYING HELP LIMITATIONS.txt NEWS README.md TESTING release-steps.txt working.txt
 %doc documentation
 %attr(755,root,root) %{_bindir}/uncrustify
 %{_mandir}/man1/uncrustify.1*
-%{_datadir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/uncrustify.git/commitdiff/df62b0f6aec8b712517f63f09de536225a4014dc



More information about the pld-cvs-commit mailing list