Skip to content

Commit

Permalink
Merge pull request #10 from yast/disuse-autotools
Browse files Browse the repository at this point in the history
Minor bugfix; more coverage; more RSpec; no Autotools.
  • Loading branch information
mvidner committed Jun 16, 2015
2 parents 5dfcdab + 2f4d36f commit 438d0fe
Show file tree
Hide file tree
Showing 24 changed files with 460 additions and 595 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ before_install:
# disable rvm, use system Ruby # disable rvm, use system Ruby
- rvm reset - rvm reset
- wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh - wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
- sh ./travis_setup.sh -p "rake yast2-devtools yast2-testsuite yast2" -g "rspec:2.14.1 yast-rake gettext simplecov coveralls" - sh ./travis_setup.sh -p "rake yast2-devtools yast2" -g "rspec:2.14.1 yast-rake gettext simplecov coveralls"
script: script:
- rake check:syntax - rake check:syntax
- rake check:pot - rake check:pot
- COVERAGE=1 rake test:unit - COVERAGE=1 rake test:unit
- make -f Makefile.cvs - sudo rake install
- make
- sudo make install
- make check
23 changes: 0 additions & 23 deletions Makefile.cvs

This file was deleted.

8 changes: 0 additions & 8 deletions config/Makefile.am

This file was deleted.

12 changes: 0 additions & 12 deletions configure.in.in

This file was deleted.

11 changes: 11 additions & 0 deletions package/yast2-proxy.changes
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jun 12 16:13:53 UTC 2015 - mvidner@suse.com

- If PROXY_ENABLED is not set, interpret it as disabled,
like the rest of the system does (boo#934925).
- Internal cleanups:
- Got rid of autotools.
- Converted legacy testsuite to RSpec.
- Moved code out of clients for better testability.
- 3.1.6

------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 11 12:01:30 UTC 2015 - mvidner@suse.com Thu Jun 11 12:01:30 UTC 2015 - mvidner@suse.com


Expand Down
20 changes: 9 additions & 11 deletions package/yast2-proxy.spec
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -17,28 +17,25 @@




Name: yast2-proxy Name: yast2-proxy
Version: 3.1.5 Version: 3.1.6
Release: 0 Release: 0


BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2


Group: System/YaST Group: System/YaST
License: GPL-2.0+ License: GPL-2.0+
# should be required by devtools
BuildRequires: perl-XML-Writer pkgconfig rpm
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: yast2-testsuite BuildRequires: yast2-buildtools >= 3.1.10
BuildRequires: yast2-devtools >= 3.1.10
BuildRequires: rubygem(rspec) BuildRequires: rubygem(rspec)
BuildRequires: rubygem(yast-rake)


BuildRequires: yast2 BuildRequires: yast2
Requires: yast2 Requires: yast2


# we split off that one # we split off that one
Conflicts: yast2-network < 2.22.6 Conflicts: yast2-network < 2.22.6


PreReq: /bin/rm
BuildArch: noarch BuildArch: noarch


Requires: yast2-ruby-bindings >= 1.0.0 Requires: yast2-ruby-bindings >= 1.0.0
Expand All @@ -52,23 +49,24 @@ This package contains the YaST2 component for proxy configuration.
%prep %prep
%setup -n %{name}-%{version} %setup -n %{name}-%{version}


%check
rake test:unit

%build %build
%yast_build


%install %install
%yast_install rake install DESTDIR="%{buildroot}"



%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{yast_clientdir}/*.rb %{yast_clientdir}/*.rb
%{yast_libdir}/proxy
%{yast_moduledir}/*.rb %{yast_moduledir}/*.rb
%{yast_yncludedir}/proxy %{yast_yncludedir}/proxy
%{yast_desktopdir}/*.desktop %{yast_desktopdir}/*.desktop
%{yast_scrconfdir}/*.scr %{yast_scrconfdir}/*.scr
%{yast_schemadir}/autoyast/rnc/proxy.rnc %{yast_schemadir}/autoyast/rnc/proxy.rnc


%dir %{yast_docdir} %doc %{yast_docdir}
%{yast_docdir}/COPYING


%changelog %changelog
16 changes: 0 additions & 16 deletions src/Makefile.am

This file was deleted.

File renamed without changes.
Loading

0 comments on commit 438d0fe

Please sign in to comment.