Accepting request 71625 from home:dimstar:branches:Base:System

ok.. that one works too

OBS-URL: https://build.opensuse.org/request/show/71625
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=47
This commit is contained in:
Vincent Untz 2011-05-27 08:40:53 +00:00 committed by Git OBS Bridge
parent 2f2ec61dff
commit fcc482c696
4 changed files with 17 additions and 3 deletions

View File

@ -28,7 +28,7 @@ fi
function find_provides { function find_provides {
while read file; do while read file; do
case $file in case $file in
/usr/lib[^/]*/girepository-1.0/*.typelib) *.typelib)
split_name_version $(basename $file | sed 's,.typelib$,,') split_name_version $(basename $file | sed 's,.typelib$,,')
print_req_prov print_req_prov
;; ;;

View File

@ -0,0 +1,3 @@
%__gobjectintrospection_provides %{_rpmconfigdir}/gi-find-deps.sh -P
%__gobjectintrospection_requires %{_rpmconfigdir}/gi-find-deps.sh -R
%__gobjectintrospection_path ^(%{_libdir}/girepository-1\.0/.*\.typelib)|(.*\.py)|(.*\.js)$

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue May 17 09:06:56 UTC 2011 - dimstar@opensuse.org
- Add gobject-introspection.attr: install rpm reqprov plugin
handler.
- Move the rpm helpers (gi-find-deps.sh and gobject.attr) to the
main package.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 27 09:16:02 UTC 2011 - dimstar@opensuse.org Wed Apr 27 09:16:02 UTC 2011 - dimstar@opensuse.org

View File

@ -28,6 +28,7 @@ Group: Development/Libraries/GNOME
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
# gi-find-deps.sh is a rpm helper for Provides and Requires. Script creates typelib()-style Provides/Requires. # gi-find-deps.sh is a rpm helper for Provides and Requires. Script creates typelib()-style Provides/Requires.
Source1: gi-find-deps.sh Source1: gi-find-deps.sh
Source2: gobject-introspection.attr
Source99: %{name}-rpmlintrc Source99: %{name}-rpmlintrc
BuildRequires: bison BuildRequires: bison
BuildRequires: fdupes BuildRequires: fdupes
@ -88,7 +89,8 @@ a uniform, machine readable format.
%install %install
%makeinstall %makeinstall
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
install -D %{S:1} %{buildroot}%{_prefix}/lib/rpm/gi-find-deps.sh install -D %{S:1} %{buildroot}%{_rpmconfigdir}/gi-find-deps.sh
install -D %{S:2} -m 0644 %{buildroot}%{_rpmconfigdir}/fileattrs/gobjectintrospection.attr
%fdupes %{buildroot} %fdupes %{buildroot}
%clean %clean
@ -121,6 +123,8 @@ rm -rf %{buildroot}
%{_datadir}/gobject-introspection-1.0/Makefile.introspection %{_datadir}/gobject-introspection-1.0/Makefile.introspection
%{_datadir}/gobject-introspection-1.0/tests/ %{_datadir}/gobject-introspection-1.0/tests/
%{_datadir}/gobject-introspection-1.0/gdump.c %{_datadir}/gobject-introspection-1.0/gdump.c
%{_rpmconfigdir}/gi-find-deps.sh
%{_rpmconfigdir}/fileattrs/gobjectintrospection.attr
%files -n libgirepository-1_0-1 %files -n libgirepository-1_0-1
%defattr(-,root,root) %defattr(-,root,root)
@ -139,6 +143,5 @@ rm -rf %{buildroot}
# FIXME: those two files should be moved to the main package when bgo#629930 gets fixed # FIXME: those two files should be moved to the main package when bgo#629930 gets fixed
%{_libdir}/pkgconfig/gobject-introspection-1.0.pc %{_libdir}/pkgconfig/gobject-introspection-1.0.pc
%{_libdir}/pkgconfig/gobject-introspection-no-export-1.0.pc %{_libdir}/pkgconfig/gobject-introspection-no-export-1.0.pc
%{_prefix}/lib/rpm/gi-find-deps.sh
%changelog %changelog