Accepting request 282225 from home:posophe:branches:devel:openSUSE:Factory

fixed

OBS-URL: https://build.opensuse.org/request/show/282225
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/cppi?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal 2015-01-30 12:49:27 +00:00 committed by Git OBS Bridge
parent 450310f071
commit 7ed8f0038c
4 changed files with 23 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82bfe3d7ae7a5ca208c71c34cb9b2967ce6251c112b548649a3b9bced9e57cab
size 418936

3
cppi-1.18.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12a505b98863f6c5cf1f749f9080be3b42b3eac5a35b59630e67bea7241364ca
size 515664

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Jan 4 14:28:46 UTC 2015 - p.drouand@gmail.com
- Update to version 1.18
+ Gnulib infrastructure updates.
+ Regenerate Makefile.in files using a version of automake that
is not susceptible to CVE-2009-4029 or CVE-2012-3386.
- Get rid of old stuff
+ Remove BuildRoot: tag
+ Remove xz requirement
+ Remove redundant %clean section
- cppi provides translations yet; add a lang subpackage
-------------------------------------------------------------------
Mon Feb 13 10:45:25 UTC 2012 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cppi
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,21 +17,21 @@
Name: cppi
Version: 1.15
Version: 1.18
Release: 0
Summary: C preprocessor directive indenter
License: GPL-3.0+
Group: Development/Languages/C and C++
Url: http://savannah.gnu.org/projects/cppi/
Source0: http://ftp.gnu.org/gnu/cppi/cppi-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: xz
Recommends: %{name}-lang
%description
cppi indents the C preprocessor directives to reflect their nesting and ensures
that there is exactly one space character between each #if, #elif, #define
directive and the following token.
%lang_package
%prep
%setup -q
@ -42,17 +42,17 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%check
make check
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS THANKS TODO
%{_bindir}/cppi
%{_mandir}/man1/cppi.1*
%files lang -f %{name}.lang
%changelog