82a5832a5b
* maint: improve documentation for fsync() calls * use sha256 rather than md5 to checksum file contents * maint: remove stale comment * document --help and --version * fix spelling in --help and man page * fix processing of lines starting with "rem" * bump version for release - add 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch . Fixes symlink handling when writing linked files. OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=13
54 lines
1.5 KiB
RPMSpec
54 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package crudini
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: crudini
|
|
Version: 0.8
|
|
Release: 0
|
|
Summary: CRUD for .ini files
|
|
License: GPL-2.0
|
|
Group: System/Base
|
|
Url: https://github.com/pixelb/crudini/releases
|
|
Source: %{name}-%{version}.tar.gz
|
|
# PATCH-FIX-UPSTREAM 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch -- https://github.com/pixelb/crudini/commit/3c52bd938975f7c5b32d7009f109ccbd2328c16d
|
|
Patch1: 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: python-iniparse
|
|
|
|
%description
|
|
A utility for manipulating ini files.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -p1
|
|
|
|
%build
|
|
|
|
%install
|
|
install -m 0755 -D crudini %{buildroot}/%{_bindir}/crudini
|
|
|
|
%post
|
|
|
|
%postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README COPYING
|
|
%{_bindir}/crudini
|
|
|
|
%changelog
|