change the path of files

This commit is contained in:
hexiujun 2019-12-26 15:21:40 +08:00
parent a05f75dd97
commit da488efbb9

View File

@ -1,6 +1,6 @@
Name: gjs
Version: 1.54.1
Release: 3
Release: 4
Summary: using GNOME libraries from Javascript
License: MIT and (MPLv1.1 or GPLv2+ or LGPLv2+)
URL: https://wiki.gnome.org/Attic/Gjs
@ -20,16 +20,12 @@ engine and the GObject introspection framework.
Summary: Development files for gjs
Requires: %{name} = %{version}-%{release}
Provides: %{name}-tests = %{version}-%{release}
Obsoletes: %{name}-tests < %{version}-%{release}
%description devel
Development files for gjs.
%package tests
Summary: Usability test of the gjs package
Requires: %{name} = %{version}-%{release}
%description tests
The tests package can be used to verify the Usability of the gjs package.
%prep
%autosetup -n %{name}-%{version} -p1
@ -47,23 +43,27 @@ chrpath --delete %{buildroot}%{_libexecdir}/gjs/installed-tests/minijasmine
%delete_la
%files
%doc NEWS README COPYING
%defattr(-,root,root)
%doc NEWS README
%license COPYING
%{_bindir}/gjs*
%{_libdir}/*.so.*
%{_libdir}/gjs
%files devel
%defattr(-,root,root)
%doc examples/*
%{_includedir}/gjs-1.0
%{_libdir}/pkgconfig/gjs-1.0.pc
%{_libdir}/*.so
%{_libexecdir}/gjs/installed-tests
%{_datadir}/gjs-1.0/lsan/
%{_datadir}/gjs-1.0/valgrind/
%files tests
%{_libexecdir}/gjs/installed-tests
%{_datadir}/installed-tests
%changelog
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.54.1-4
- change the path of files
* Wed Sep 11 2019 Lijin Yang <yanglijin@huawei.com> - 1.54.1-3
- Package init
- Package init