Update to 4.1 (BZ#1508863)

This commit is contained in:
Robin Lee 2018-08-31 10:30:41 +08:00
parent 6d5bde5f74
commit 690d98d7b2
3 changed files with 13 additions and 9 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ iniparser3.0b.tar.gz
/iniparser-3.0.tar.gz
/iniparser-3.1.tar.gz
/iniparser-4.0-git-e24843b.tar.xz
/iniparser-4.1.tar.gz

View File

@ -2,17 +2,17 @@
%bcond_with testsuite
Name: iniparser
Version: 4.0
Release: 6.20160821git%{?dist}
Version: 4.1
Release: 1%{?dist}
Summary: C library for parsing "INI-style" files
Group: System Environment/Libraries
License: MIT
URL: https://github.com/ndevilla/%{name}
#Source0: %{name}-%{version}.tar.xz
Source0: %{name}-%{version}-git-e24843b.tar.xz
Source0: https://github.com/ndevilla/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc
%description
iniParser is an ANSI C library to parse "INI-style" files, often used to
hold application configuration information.
@ -42,8 +42,8 @@ make %{?_smp_mflags}
# iniParser doesn't have a 'make install' of its own :(
install -d %{buildroot}%{_includedir} %{buildroot}%{_libdir}
install -m 644 -t %{buildroot}%{_includedir}/ src/dictionary.h src/iniparser.h
install -m 755 -t %{buildroot}%{_libdir}/ libiniparser.so.0
ln -s libiniparser.so.0 %{buildroot}%{_libdir}/libiniparser.so
install -m 755 -t %{buildroot}%{_libdir}/ libiniparser.so.1
ln -s libiniparser.so.1 %{buildroot}%{_libdir}/libiniparser.so
%if %{with testsuite}
%check
@ -61,7 +61,7 @@ make check
%doc README.md INSTALL AUTHORS
%{!?_licensedir:%global license %%doc}
%license LICENSE
%{_libdir}/libiniparser.so.0
%{_libdir}/libiniparser.so.1
%files devel
%{!?_licensedir:%global license %%doc}
@ -70,6 +70,9 @@ make check
%{_includedir}/*.h
%changelog
* Fri Aug 31 2018 Robin Lee <cheeselee@fedoraproject.org> - 4.1-1
- Update to 4.1 (BZ#1508863)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-6.20160821git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
dbb0f1eaa70960bca832f8f7ebb50a96 iniparser-4.0-git-e24843b.tar.xz
SHA512 (iniparser-4.1.tar.gz) = a8125aaaead1f9dfde380fa1e45bae31ca2312be029f2c53b4072cb3b127d16578a95c7c0aee1e3dda5e7b8db7a865ba6dfe8a1d80eb673061b3babef744e968