Update to 0.2.0

This commit is contained in:
Tomas Mlcoch 2013-08-05 10:00:32 +02:00
parent 7a18d2357c
commit e359b567b6
3 changed files with 62 additions and 15 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/createrepo_c-0.1.15.tar.xz /createrepo_c-0.1.15.tar.xz
/createrepo_c-0.1.16.tar.xz /createrepo_c-0.1.16.tar.xz
/createrepo_c-0.1.17.tar.xz /createrepo_c-0.1.17.tar.xz
/createrepo_c-e598429.tar.xz

View File

@ -1,13 +1,21 @@
%global gitrev e598429
# gitrev is output of: git rev-parse --short HEAD
Summary: Creates a common metadata repository Summary: Creates a common metadata repository
Name: createrepo_c Name: createrepo_c
Version: 0.1.17 Version: 0.2.0
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Base Group: System Environment/Base
Source0: https://fedorahosted.org/releases/c/r/createrepo_c/%{name}-%{version}.tar.xz # Use the following commands to generate the tarball:
URL: https://fedorahosted.org/createrepo_c/ # git clone https://github.com/Tojaj/createrepo_c.git
# cd createrepo_c
# utils/make_tarball.sh %{gitrev}
Source0: createrepo_c-%{gitrev}.tar.xz
URL: https://github.com/Tojaj/createrepo_c
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
BuildRequires: check-devel
BuildRequires: cmake BuildRequires: cmake
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: expat-devel BuildRequires: expat-devel
@ -15,6 +23,10 @@ BuildRequires: file-devel
BuildRequires: glib2-devel >= 2.22.0 BuildRequires: glib2-devel >= 2.22.0
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: python2-devel
BuildRequires: python-flask
BuildRequires: python-nose
BuildRequires: rpm-devel >= 4.8.0-28 BuildRequires: rpm-devel >= 4.8.0-28
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
BuildRequires: xz-devel BuildRequires: xz-devel
@ -50,15 +62,26 @@ Requires: %{name}-libs = %{version}-%{release}
This package contains the createrepo_c C library and header files. This package contains the createrepo_c C library and header files.
These development files are for easy manipulation with a repodata. These development files are for easy manipulation with a repodata.
%package -n python-createrepo_c
Summary: Python bindings for the createrepo_c library
Group: Development/Languages
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n python-createrepo_c
Python bindings for the createrepo_c library.
%prep %prep
%setup -q %setup -q -n createrepo_c
%build %build
%cmake . %cmake .
make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
make doc make doc
%check
make tests
make ARGS="-V" test
%install %install
make install DESTDIR=$RPM_BUILD_ROOT/ make install DESTDIR=$RPM_BUILD_ROOT/
@ -86,9 +109,32 @@ make install DESTDIR=$RPM_BUILD_ROOT/
%doc COPYING %doc COPYING
%doc doc/html %doc doc/html
%files -n python-createrepo_c
%{python_sitearch}/createrepo_c/
%changelog %changelog
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.17-2 * Mon Aug 5 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.0-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Speedup (More parallelization)
- Changed C API
- Add python bindings
- A lot of bugfixes
- Add new make targets: tests (make tests - builds c tests) and test
(make test - runs c and python test suits).
- Changed interface of most of C modules - Better error reporting
(Add GError ** param).
- Experimental Python bindings (Beware: The interface is not final yet!).
- package: Add cr_package_copy method.
- sqlite: Do not recreate tables and triggers while opening existing db.
- mergerepo_c: Implicitly use --all with --koji.
- Man page update.
* Thu Apr 11 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.17-3
- mergerepo_c: Add --simple-md-filenames and --unique-md-filenames
options. (RhBug: 950994)
- mergerepo_c: Always include noarch while mimic koji
mergerepos. (RhBug: 950991)
- Rename cr_package_parser_shutdown to cr_package_parser_cleanup()
- cr_db_info_update is now safe from sqlinjection.
* Mon Mar 25 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.17-1 * Mon Mar 25 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.17-1
- Fix double free() when old metadata parsing failed. (related to RhBug: 920795) - Fix double free() when old metadata parsing failed. (related to RhBug: 920795)
@ -154,7 +200,7 @@ by ASCII value
- New createrepo_c specific cmd option --keep-all-metadata - New createrepo_c specific cmd option --keep-all-metadata
- Few bugfixes - Few bugfixes
* Tue Jul 26 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.7-1 * Thu Jul 26 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.7-1
- SQLite support - SQLite support
- Bash completion - Bash completion
- createrepo_c support for --compress-type param - createrepo_c support for --compress-type param
@ -164,22 +210,22 @@ by ASCII value
- Doxygen documentation in devel package - Doxygen documentation in devel package
- README update - README update
* Tue Jun 11 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.5-1 * Mon Jun 11 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.5-1
- Support for .xz compression - Support for .xz compression
- Unversioned .so excluded from installation - Unversioned .so excluded from installation
* Tue Jun 4 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.4-1 * Mon Jun 4 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.4-1
- New mergerepo params: --all, --noarch-repo and --method - New mergerepo params: --all, --noarch-repo and --method
- Fix segfault when more than one --excludes param used - Fix segfault when more than one --excludes param used
* Tue May 28 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.3-1 * Mon May 28 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.3-1
- Set RelWithDebInfo as default cmake build type - Set RelWithDebInfo as default cmake build type
* Tue May 23 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.2-1 * Wed May 23 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.2-1
- Add version.h header file - Add version.h header file
* Tue May 23 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.1-1 * Wed May 23 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.1-1
- Add license - Add license
* Tue May 9 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.0-1 * Wed May 9 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.0-1
- First public release - First public release

View File

@ -1 +1 @@
dcef54189145c7e1cb1e7c86d92eadb3 createrepo_c-0.1.17.tar.xz 78913a2b9bded7a97a0a91038141582c createrepo_c-e598429.tar.xz